Property QueryIdentifier
QueryIdentifier
Identifier for a query which is added as a string against the result set of the query in cache. This MUST be unique for each unique query. QueryIdentifier is used to regenerate the result set from the cache upon execution of the same query again. The user must maintain a mapping of the query against the query identifier to be used in the future. If not specified, NCache adds the query string itself as the string (making it unique for each unique query). For example, a query which returns a Customer if user provides QueryIdentifier then items will be stored against the key generated using QueryIdentifier in the cache. if user do not provide QueryIdentifier then we generate key using the query
Declaration
public string QueryIdentifier { get; set; }
Property Value
Type | Description |
---|---|
System.String |