DevForce Help Reference
DefaultQueryStrategy Property


Gets or sets the default QueryStrategy to use for all queries where the QueryStrategy is not set either by parameter or as part of the Query itself.
Syntax
'Declaration
 
Public Property DefaultQueryStrategy As QueryStrategy
'Usage
 
Dim instance As EntityManager
Dim value As QueryStrategy
 
instance.DefaultQueryStrategy = value
 
value = instance.DefaultQueryStrategy
public QueryStrategy DefaultQueryStrategy {get; set;}
Remarks
You can set the QueryStrategy used by an individual query using its EntityQuery.QueryStrategy property. The DefaultQueryStrategy is used when a query is executed and the strategy was not provided.

If not set, the default is a QueryStrategy of QueryStrategy.Normal.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

EntityManager Class
EntityManager Members
EntityQuery Class

Send Feedback