C# Class Microsoft.AspNetCore.OData.Query.ODataQueryContext

This defines some context information used to perform query composition.
显示文件 Open project: OData/AspNetCoreOData Class Usage Examples

Private Properties

Property Type Description
GetDefaultQuerySettings Microsoft.AspNetCore.OData.Query.DefaultQuerySettings
GetNavigationSource IEdmNavigationSource
GetPathContext void
ODataQueryContext System
ODataQueryContext System

Public Methods

Method Description
ODataQueryContext ( IEdmModel model, IEdmType elementType, ODataPath path ) : System

Constructs an instance of ODataQueryContext with IEdmModel, element EDM type, and ODataPath.

ODataQueryContext ( IEdmModel model, Type elementClrType, ODataPath path ) : System

Constructs an instance of ODataQueryContext with IEdmModel, element CLR type, and ODataPath.

This is a public constructor used for stand-alone scenario; in this case, the services container may not be present.

Private Methods

Method Description
GetDefaultQuerySettings ( ) : Microsoft.AspNetCore.OData.Query.DefaultQuerySettings
GetNavigationSource ( IEdmModel model, IEdmType elementType, ODataPath odataPath ) : IEdmNavigationSource
GetPathContext ( ) : void
ODataQueryContext ( IEdmModel model, IEdmType elementType ) : System
ODataQueryContext ( IEdmModel model, Type elementClrType ) : System

Method Details

ODataQueryContext() public method

Constructs an instance of ODataQueryContext with IEdmModel, element EDM type, and ODataPath.
public ODataQueryContext ( IEdmModel model, IEdmType elementType, ODataPath path ) : System
model IEdmModel The EDM model the given EDM type belongs to.
elementType IEdmType The EDM type of the element of the collection being queried.
path ODataPath The parsed .
return System

ODataQueryContext() public method

Constructs an instance of ODataQueryContext with IEdmModel, element CLR type, and ODataPath.
This is a public constructor used for stand-alone scenario; in this case, the services container may not be present.
public ODataQueryContext ( IEdmModel model, Type elementClrType, ODataPath path ) : System
model IEdmModel The EdmModel that includes the corresponding to /// the given .
elementClrType Type The CLR type of the element of the collection being queried.
path ODataPath The parsed .
return System