DevForce Help Reference
QueryStrategy Class Members
Fields  Properties  Methods 


The following tables list the members exposed by QueryStrategy.

Public Constructors
 NameDescription
Public ConstructorQueryStrategy ConstructorOverloaded.   
Top
Public Fields
 NameDescription
Public Fieldstatic (Shared in Visual Basic)CacheOnly Retrieve business objects from the cache only. QueryInversion is not applicable for this strategy.  
Public Fieldstatic (Shared in Visual Basic)DataSourceOnly Retrieve entities from the back-end data source only, and overwrite any matching entities. QueryInversion is turned off for this strategy.  
Public Fieldstatic (Shared in Visual Basic)DataSourceOnlyWithInversion Retrieve entities from the back-end data source only, and overwrite any matching entities. QueryInversion is turned on for this strategy.  
Public Fieldstatic (Shared in Visual Basic)DataSourceThenCache Retrieve entities from the backend data source, add objects from cache, and overwrite any matching entities. QueryInversion is set to 'Try' for this strategy.  
Public Fieldstatic (Shared in Visual Basic)Normal Use the "Optimized" fetch strategy for the environment, preserving any changes. QueryInversion is set to 'Try' for this strategy.  
Top
Public Properties
 NameDescription
Public PropertyCacheQueryOptions Returns the CacheQueryOptions for this QueryStrategy. May be null in which case no special handling will occur when cache queries are executed and standard .NET CLR query semantics will apply. These are likely to be different than those of the backend datastore.  
Public PropertyCommunicationRetryPolicyGets the retry policy to use for possibly transient communication errors to a remote EntityServer. If not set, the DefaultRetryPolicy is used.  
Public PropertyEntityReferenceStrategyReturns the EntityReferenceStrategy for this QueryStrategy.  
Public PropertyFetchStrategy Returns the FetchStrategy for this QueryStrategy.  
Public PropertyInversionModeReturns the QueryInversionMode for this QueryStrategy.  
Public PropertyMergeStrategy Returns the MergeStrategy for this QueryStrategy.  
Public PropertyTransactionSettings Returns the TransactionSettings for this QueryStrategy.  
Top
Public Methods
 NameDescription
Public MethodEqualsSee System.Object.Equals(System.Object).  
Public MethodGetHashCodeServes as the default hash function.  
Public MethodGetType (Inherited from object)
Public MethodToString (Inherited from object)
Public MethodWithOverloaded.  Creates a clone of the current strategy with the specified QueryInversionMode.  
Top
Protected Methods
 NameDescription
Protected MethodFinalize (Inherited from object)
Protected MethodMemberwiseClone (Inherited from object)
Top
Public Operators
public Operator Equality Operator == overload.
public Operator Inequality Operator != overload.
Top
See Also

Reference

QueryStrategy Class
IdeaBlade.EntityModel Namespace

Send Feedback