C# 클래스 Microsoft.AspNetCore.OData.Query.ODataQueryContext

This defines some context information used to perform query composition.
파일 보기 프로젝트 열기: OData/AspNetCoreOData 1 사용 예제들

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