Class PrimaryField
Makes a field or property searchable in DataType's item. If PrimaryField attribute is provided with any Field then only that Field will be used for search operations. Only this specific attribute will be sent to NCache Server and search operation will only look up for this Field.
Inheritance
System.Object
System.Attribute
PrimaryField
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field)]
public class PrimaryField : Attribute, _Attribute
Constructors
Name | Description |
---|---|
PrimaryField() | Default constructor |