Enum QueryPersistenceKind
Represent how the queries are stored in XML project files and XML rule files.
public enum QueryPersistenceKind
- Extension Methods
Fields (3)
Default = 0The default value is PersistOnlyQueryId.
PersistAllQueriesAsPlainText = 1Persist query plain text, no matter if it corresponds to a default query or not.
PersistOnlyQueryIdForUntouchedQueries = 0Persist only a query Id and retrieve the default query text for this Id at load time.
When a query text has been edited, the entire text is persisted to avoid losing any customization.
The advantage of this persistence kind is twofold: Not only project files and rule files are much smaller but also query gets updated with latest changes.