Class ODataQueryContext
This defines some context information used to perform query composition.
public class ODataQueryContext
- Inheritance
-
ODataQueryContext
- Inherited Members
Constructors
ODataQueryContext(IEdmModel, IEdmType)
Constructs an instance of ODataQueryContext with Microsoft.Data.Edm.IEdmModel and element CLR type.
public ODataQueryContext(IEdmModel model, IEdmType elementType)
Parameters
model
IEdmModelThe EDM model the given EDM type belongs to.
elementType
IEdmTypeThe EDM type of the element of the collection being queried.
ODataQueryContext(IEdmModel, Type)
Constructs an instance of ODataQueryContext with Microsoft.Data.Edm.IEdmModel and element CLR type.
public ODataQueryContext(IEdmModel model, Type elementClrType)
Parameters
model
IEdmModelThe EdmModel that includes the Microsoft.Data.Edm.IEdmType corresponding to the given
elementClrType
.elementClrType
TypeThe CLR type of the element of the collection being queried.
Properties
ElementClrType
Gets the CLR type of the element.
public Type ElementClrType { get; }
Property Value
ElementType
Gets the Microsoft.Data.Edm.IEdmType of the element.
public IEdmType ElementType { get; }
Property Value
- IEdmType
Model
Gets the given Microsoft.Data.Edm.IEdmModel that contains the EntitySet.
public IEdmModel Model { get; }
Property Value
- IEdmModel