C# Class IQ.Data.QueryPolicy

Defines query execution & materialization policies.
Afficher le fichier Open project: maravillas/linq-to-delicious Class Usage Examples

Méthodes publiques

Méthode Description
BuildExecutionPlan ( Expression projection, Expression provider ) : Expression

Converts a query into an execution plan. The plan is an function that executes the query and builds the resulting objects.

IsDeferLoaded ( MemberInfo member ) : bool

Determines if a relationship property is included, but the query for the related data is deferred until the property is first accessed.

IsIncluded ( MemberInfo member ) : bool

Determines if a relationship property is to be included in the results of the query

QueryPolicy ( QueryMapping mapping ) : System
Translate ( Expression expression ) : Expression

Provides policy specific query translations. This is where choices about inclusion of related objects and how heirarchies are materialized affect the definition of the queries.

Method Details

BuildExecutionPlan() public méthode

Converts a query into an execution plan. The plan is an function that executes the query and builds the resulting objects.
public BuildExecutionPlan ( Expression projection, Expression provider ) : Expression
projection System.Linq.Expressions.Expression
provider System.Linq.Expressions.Expression
Résultat System.Linq.Expressions.Expression

IsDeferLoaded() public méthode

Determines if a relationship property is included, but the query for the related data is deferred until the property is first accessed.
public IsDeferLoaded ( MemberInfo member ) : bool
member System.Reflection.MemberInfo
Résultat bool

IsIncluded() public méthode

Determines if a relationship property is to be included in the results of the query
public IsIncluded ( MemberInfo member ) : bool
member System.Reflection.MemberInfo
Résultat bool

QueryPolicy() public méthode

public QueryPolicy ( QueryMapping mapping ) : System
mapping QueryMapping
Résultat System

Translate() public méthode

Provides policy specific query translations. This is where choices about inclusion of related objects and how heirarchies are materialized affect the definition of the queries.
public Translate ( Expression expression ) : Expression
expression System.Linq.Expressions.Expression
Résultat System.Linq.Expressions.Expression