Hide

YetaWF.DataProvider.SQLGeneric Package Documentation

Display
Print

YetaWF.DataProvider.SQLGeneric.SQLGenericBase.GetIdentityName Method

Returns the identity column name.

Class: YetaWF.DataProvider.SQLGeneric.SQLGenericBase
Namespace: YetaWF.DataProvider.SQLGeneric
Assembly: YetaWF.DataProvider.SQLGeneric

Syntax

protected string GetIdentityName(
    string tableName,
    List<YetaWF.Core.Models.PropertyData> propertyData );

Parameters

tableName

The table name.

propertyData

The collection of property information.

Return Value

Returns the identity column name.

Remarks

An identity column is defined in a model by decorating a property with the YetaWF.Core.DataProvider.Attributes.Data_Identity attribute. If no identity column is defined for the specified table, an empty string is returned.

See Also YetaWF.DataProvider.SQLGeneric.SQLGenericBase ClassYetaWF.DataProvider.SQLGenericYetaWF.Core