KeyPropertyAttribute(bool, bool, bool) Constructor
Initializes a new instance of the KeyPropertyAttribute class.
Namespace
DbSyncKit.DB.Attributes
Containing Type
KeyPropertyAttribute

Syntax

public KeyPropertyAttribute(bool keyProperty = true, bool isPrimaryKey = false, bool isComparable = false)

Parameters

Name Type Description
keyProperty bool Indicates whether the property should be considered as a key property. Default is true.
isPrimaryKey bool Indicates whether the property is a primary key. Default is false.
isComparable bool Indicates whether the property is comparable. Default is false.