DataObjectFieldAttribute::IsIdentity Property
.NET Framework (current version)
Gets a value indicating whether a property represents an identity field in the underlying data.
Assembly: System (in System.dll)
Property Value
Type: System::Booleantrue if the property represents an identity field in the underlying data; otherwise, false. The default value is false.
Set the IsIdentity property to true when the DataObjectFieldAttribute attribute is applied to a property that represents an identity field in the underlying data store. Typically an identity field is generated by the data store and uniquely identifies an entity in the data store.
Set the IsIdentity property with one of the DataObjectFieldAttribute constructors.
.NET Framework
Available since 2.0
Available since 2.0
Show: