namespace: Serenity.Data.Mapping assembly: Serenity.Net.Data
Marks the property as part of the primary key.
[AttributeUsage(AttributeTargets.All)]
public class PrimaryKeyAttribute : SetFieldFlagsAttribute
name | description |
---|---|
PrimaryKeyAttribute() | Initializes a new instance of the PrimaryKeyAttribute class. |
- class SetFieldFlagsAttribute
- Source: PrimaryKeyAttribute.cs