次の方法で共有


SfcObjectQueryMode Enum

Definition

This enumeration determines the use of query iterators on object query results. It only applies to queries returning an iterator. Caching avoids these issues entirely at the expense of first caching all of the query results in memory. Single or multiple active queries both use a non-cached iterator, but affect how the domain instance responds the GetConnection method.

All iterators of query results must always be disposed as soon as they are no longer in use regardless of mode.

public enum SfcObjectQueryMode
type SfcObjectQueryMode = 
Public Enum SfcObjectQueryMode
Inheritance
SfcObjectQueryMode

Fields

Name Value Description
CachedQuery 0

CachedQueries avoids any issues with nested or overlapping active queries by internally caching the query results and iterating on that.

SingleActiveQuery 1
MultipleActiveQueries 2

Applies to