C# Class CrownPeak.SearchG2.Attributes.UniqueKeyAttribute

Inheritance: FieldAttribute
ファイルを表示 Open project: Crownpeak/Search-Results-Examples

Public Methods

Method Description
UniqueKeyAttribute ( ) : System

Marks a property as unique key. By default the field name is the property name.

UniqueKeyAttribute ( string fieldName ) : System

Marks a property as unique key.

Method Details

UniqueKeyAttribute() public method

Marks a property as unique key. By default the field name is the property name.
public UniqueKeyAttribute ( ) : System
return System

UniqueKeyAttribute() public method

Marks a property as unique key.
public UniqueKeyAttribute ( string fieldName ) : System
fieldName string The field name to use for this property.
return System