C# Класс Microsoft.AspNetCore.OData.Query.ODataQueryContext

This defines some context information used to perform query composition.
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
GetDefaultQuerySettings Microsoft.AspNetCore.OData.Query.DefaultQuerySettings
GetNavigationSource IEdmNavigationSource
GetPathContext void
ODataQueryContext System
ODataQueryContext System

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

ODataQueryContext() публичный Метод

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 .
Результат System

ODataQueryContext() публичный Метод

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 .
Результат System