• Webinars
  • Docs
  • Download
  • Blogs
  • Contact Us
Try Free
Show / Hide Table of Contents

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
Remarks

Usage:

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 not to be indexed with NCache.

See Also

QueryIndexedAttribute
QueryIndexableAttribute
Back to top Copyright © 2017 Alachisoft