SelectExpandNode Constructor
Namespace: System.Web.OData.Formatter.Serialization
Assembly: System.Web.OData (in System.Web.OData.dll)
Overload List
Name | Description | |
---|---|---|
SelectExpandNode() | Creates a new instance of the SelectExpandNode class. |
|
SelectExpandNode(IEdmEntityType, ODataSerializerContext) | Creates a new instance of the SelectExpandNode class describing the set of structural properties, navigation properties, and actions to select and expand for the given writeContext. |
|
SelectExpandNode(SelectExpandClause, IEdmEntityType, IEdmModel) | Creates a new instance of the SelectExpandNode class describing the set of structural properties, navigation properties, and actions to select and expand for the given selectExpandClause. |
See Also
SelectExpandNode Class
System.Web.OData.Formatter.Serialization Namespace
Return to top
SelectExpandNode Constructor ()
Creates a new instance of the SelectExpandNode class.
Syntax
public SelectExpandNode()
public:
SelectExpandNode()
new : unit -> SelectExpandNode
Public Sub New
Remarks
The default constructor is for unit testing only.
Return to top
SelectExpandNode Constructor (IEdmEntityType, ODataSerializerContext)
Creates a new instance of the SelectExpandNode class describing the set of structural properties, navigation properties, and actions to select and expand for the given writeContext.
Syntax
public SelectExpandNode(
IEdmEntityType entityType,
ODataSerializerContext writeContext
)
public:
SelectExpandNode(
IEdmEntityType^ entityType,
ODataSerializerContext^ writeContext
)
new :
entityType:IEdmEntityType *
writeContext:ODataSerializerContext -> SelectExpandNode
Public Sub New (
entityType As IEdmEntityType,
writeContext As ODataSerializerContext
)
Parameters
entityType
Type: Microsoft.OData.Edm.IEdmEntityTypeThe entity type of the entry that would be written.
writeContext
Type: System.Web.OData.Formatter.Serialization.ODataSerializerContextThe serializer context to be used while creating the collection.
Remarks
The default constructor is for unit testing only.
Return to top
SelectExpandNode Constructor (SelectExpandClause, IEdmEntityType, IEdmModel)
Creates a new instance of the SelectExpandNode class describing the set of structural properties, navigation properties, and actions to select and expand for the given selectExpandClause.
Syntax
public SelectExpandNode(
SelectExpandClause selectExpandClause,
IEdmEntityType entityType,
IEdmModel model
)
public:
SelectExpandNode(
SelectExpandClause^ selectExpandClause,
IEdmEntityType^ entityType,
IEdmModel^ model
)
new :
selectExpandClause:SelectExpandClause *
entityType:IEdmEntityType *
model:IEdmModel -> SelectExpandNode
Public Sub New (
selectExpandClause As SelectExpandClause,
entityType As IEdmEntityType,
model As IEdmModel
)
Parameters
selectExpandClause
Type: Microsoft.OData.Core.UriParser.Semantic.SelectExpandClauseThe parsed $select and $expand query options.
entityType
Type: Microsoft.OData.Edm.IEdmEntityTypeThe entity type of the entry that would be written.
model
Type: Microsoft.OData.Edm.IEdmModelThe IEdmModel that contains the given entity type.
Return to top