Gets a value indicating whether the property is a primary key.
- Namespace
- DbSyncKit
.DB .Attributes - Containing Type
- KeyPropertyAttribute
- Property Type
- bool
Syntax
public bool IsPrimaryKey { get; }Value
| Type | Description |
|---|---|
| bool | true if the property is a primary key; otherwise, false. |