Property QueryIdentifier
QueryIdentifier
Identifier for a query which is added as a 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 tag (making it unique for each
unique query). For example, a query which returns a Customer is not tagged by the user. The
next time the same query is executed, the query string is searched as a tag within cache and
if it exists, the result set against it will be returned.
Declaration
public string QueryIdentifier { get; set; }
Property Value
Type |
Description |
System.String |
|