Class NonQueryIndexedAttribute
Indicates that a field or property of a query indexable class should not be indexed.
Inheritance
System.Object
System.Attribute
NonQueryIndexedAttribute
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field)]
public class NonQueryIndexedAttribute : Attribute, _Attribute
Examples
public class Product {
...
[NonQueryIndexed]
public string ProductName;
[NonQueryIndexed]
public int UnitPrice { get; set; }
[NonQueryIndexed]
private int quantity;
[NonQueryIndexed]
private int UnitsAvailable { get; set; }
...
Constructors
Name | Description |
---|---|
NonQueryIndexedAttribute() | Mark class, field or property that are not to be indexed with NCache. |