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