Returns the primary key's column name.
Class: YetaWF.DataProvider.SQLGeneric.SQLGenericBase
Namespace: YetaWF.DataProvider.SQLGeneric
Assembly: YetaWF.DataProvider.SQLGeneric
protected string GetKey1Name( string tableName, List<YetaWF.Core.Models.PropertyData> propertyData );
tableName
The table name.
propertyData
The collection of property information.
Returns the primary key's column name.
A primary key is defined in a model by decorating a property with the YetaWF.Core.DataProvider.Attributes.Data_PrimaryKey attribute. If no primary key is defined for the specified table, an exception occurs.
See Also YetaWF.DataProvider.SQLGeneric.SQLGenericBase ClassYetaWF.DataProvider.SQLGenericYetaWF.Core
Documentation Feedback
© 2024 - Softel vdm, Inc. - YetaWF.com