Class QueryModelVisitor

Visits a and converts it into a Stylelabs.M.Base.Querying.Linq.QueryModelVisitor.Query.

Inheritance
object
QueryModelVisitor
Namespace: StylelabsStylelabs.MStylelabs.M.BaseQueryingLinq
Assembly: Stylelabs.M.Sdk.dll
Syntax
RequestResponse

public class QueryModelVisitor : QueryModelVisitorBase

Methods

GetQuery(QueryModel)

Converts the specified queryModel into a Stylelabs.M.Base.Querying.Linq.QueryModelVisitor.Query.

Declaration
RequestResponse

public static Query GetQuery(QueryModel queryModel)
Parameters
TypeNameDescription
QueryModelqueryModel

The model to convert.

Returns
TypeDescription
Query

An executable Stylelabs.M.Base.Querying.Linq.QueryModelVisitor.Query created from the specified queryModel.

VisitAdditionalFromClause(AdditionalFromClause, QueryModel, int)

Declaration
RequestResponse

public override void VisitAdditionalFromClause(AdditionalFromClause fromClause, QueryModel queryModel, int index)
Parameters
TypeNameDescription
AdditionalFromClausefromClause
QueryModelqueryModel
intindex

VisitGroupJoinClause(GroupJoinClause, QueryModel, int)

Declaration
RequestResponse

public override void VisitGroupJoinClause(GroupJoinClause groupJoinClause, QueryModel queryModel, int index)
Parameters
TypeNameDescription
GroupJoinClausegroupJoinClause
QueryModelqueryModel
intindex

VisitJoinClause(JoinClause, QueryModel, GroupJoinClause)

Declaration
RequestResponse

public override void VisitJoinClause(JoinClause joinClause, QueryModel queryModel, GroupJoinClause groupJoinClause)
Parameters
TypeNameDescription
JoinClausejoinClause
QueryModelqueryModel
GroupJoinClausegroupJoinClause

VisitJoinClause(JoinClause, QueryModel, int)

Declaration
RequestResponse

public override void VisitJoinClause(JoinClause joinClause, QueryModel queryModel, int index)
Parameters
TypeNameDescription
JoinClausejoinClause
QueryModelqueryModel
intindex

VisitOrderings(ObservableCollection<Ordering>, QueryModel, OrderByClause)

Declaration
RequestResponse

protected override void VisitOrderings(ObservableCollection<Ordering> orderings, QueryModel queryModel, OrderByClause orderByClause)
Parameters
TypeNameDescription
ObservableCollection<>Orderingorderings
QueryModelqueryModel
OrderByClauseorderByClause

VisitResultOperators(ObservableCollection<ResultOperatorBase>, QueryModel)

Declaration
RequestResponse

protected override void VisitResultOperators(ObservableCollection<ResultOperatorBase> resultOperators, QueryModel queryModel)
Parameters
TypeNameDescription
ObservableCollection<>ResultOperatorBaseresultOperators
QueryModelqueryModel

VisitSelectClause(SelectClause, QueryModel)

Declaration
RequestResponse

public override void VisitSelectClause(SelectClause selectClause, QueryModel queryModel)
Parameters
TypeNameDescription
SelectClauseselectClause
QueryModelqueryModel

VisitWhereClause(WhereClause, QueryModel, int)

Declaration
RequestResponse

public override void VisitWhereClause(WhereClause whereClause, QueryModel queryModel, int index)
Parameters
TypeNameDescription
WhereClausewhereClause
QueryModelqueryModel
intindex

Do you have some feedback for us?

If you have suggestions for improving this article,