DataTables / Editor-NET

.NET Framework and .NET Core server-side libraries for Editor
Other
15 stars 12 forks source link

fix insert with compound keys and field name different from field db property #3

Closed fbognini closed 3 years ago

fbognini commented 3 years ago

PkeyToValue method doesn't consider that the field name could be different from the field db property. In "non-flat version" (during insert with compound keys) it looks for property named as pkey[i] (db property) but it's doesn't find anything because the client uses field name.

DataTables commented 3 years ago

Looks like another good fix - thank you. Are you happy with the MIT license for this change too?

fbognini commented 3 years ago

Sure, I'm happy to do it