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 Server.
Inheritance
System.Object
System.Attribute
PrimaryField
Namespace:
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field)]
public class PrimaryField : Attribute, _Attribute
Constructors
Name | Description |
---|---|
PrimaryField() | Default constructor |