namespace: Serenity.Data.Mapping assembly: Serenity.Net.Data
Marks the field as Identity, a combination of PrimaryKey, AutoIncrement and NotNull flags.
[AttributeUsage(AttributeTargets.All)]
public class IdentityAttribute : SetFieldFlagsAttribute
name | description |
---|---|
IdentityAttribute() | Initializes a new instance of the IdentityAttribute class. |
- class SetFieldFlagsAttribute
- Source: IdentityAttribute.cs