C# Class RunningObjects.Core.Query.QueryParser

ファイルを表示 Open project: edurdias/RunningObjects

Public Methods

Method Description
Empty ( Type modelType ) : Query
Parse ( Type modelType, IQueryable source ) : Query
Parse ( Type modelType, IQueryable source, QueryAttribute attr ) : Query
Parse ( Type modelType, IQueryable source, string id ) : Query

Private Methods

Method Description
ParseOrderBy ( Type modelType, QueryAttribute spec ) : OrderBy
ParseSelect ( Type modelType, QueryAttribute spec ) : Select
ParseSkip ( QueryAttribute spec ) : int?
ParseTake ( QueryAttribute spec ) : int?
ParseWhere ( QueryAttribute spec ) : Where

Method Details

Empty() public static method

public static Empty ( Type modelType ) : Query
modelType System.Type
return Query

Parse() public static method

public static Parse ( Type modelType, IQueryable source ) : Query
modelType System.Type
source IQueryable
return Query

Parse() public static method

public static Parse ( Type modelType, IQueryable source, QueryAttribute attr ) : Query
modelType System.Type
source IQueryable
attr QueryAttribute
return Query

Parse() public static method

public static Parse ( Type modelType, IQueryable source, string id ) : Query
modelType System.Type
source IQueryable
id string
return Query