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 Serialized and sent to NCache Server and search operation will only look up for that specific attribute on the server.
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() | The default constructor of class PrimaryField. |