SelectExpandNode Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SelectExpandNode() |
Creates a new instance of the SelectExpandNode class. |
SelectExpandNode(SelectExpandNode) |
Creates a new instance of the SelectExpandNode class by copying the state of another instance. This is intended for scenarios that wish to modify state without updating the values cached within ODataResourceSerializer. |
SelectExpandNode(IEdmStructuredType, ODataSerializerContext) |
Creates a new instance of the SelectExpandNode class describing the set of structural properties,
nested properties, navigation properties, and actions to select and expand for the given |
SelectExpandNode(SelectExpandClause, IEdmStructuredType, IEdmModel) |
Creates a new instance of the SelectExpandNode class describing the set of structural properties,
nested properties, navigation properties, and actions to select and expand for the given |
SelectExpandNode()
Creates a new instance of the SelectExpandNode class.
public SelectExpandNode ();
Public Sub New ()
Remarks
The default constructor is for unit testing only.
Applies to
SelectExpandNode(SelectExpandNode)
Creates a new instance of the SelectExpandNode class by copying the state of another instance. This is intended for scenarios that wish to modify state without updating the values cached within ODataResourceSerializer.
public SelectExpandNode (Microsoft.AspNet.OData.Formatter.Serialization.SelectExpandNode selectExpandNodeToCopy);
new Microsoft.AspNet.OData.Formatter.Serialization.SelectExpandNode : Microsoft.AspNet.OData.Formatter.Serialization.SelectExpandNode -> Microsoft.AspNet.OData.Formatter.Serialization.SelectExpandNode
Public Sub New (selectExpandNodeToCopy As SelectExpandNode)
Parameters
- selectExpandNodeToCopy
- SelectExpandNode
The instance from which the state for the new instance will be copied.
Applies to
SelectExpandNode(IEdmStructuredType, ODataSerializerContext)
Creates a new instance of the SelectExpandNode class describing the set of structural properties,
nested properties, navigation properties, and actions to select and expand for the given writeContext
.
public SelectExpandNode (Microsoft.OData.Edm.IEdmStructuredType structuredType, Microsoft.AspNet.OData.Formatter.Serialization.ODataSerializerContext writeContext);
new Microsoft.AspNet.OData.Formatter.Serialization.SelectExpandNode : Microsoft.OData.Edm.IEdmStructuredType * Microsoft.AspNet.OData.Formatter.Serialization.ODataSerializerContext -> Microsoft.AspNet.OData.Formatter.Serialization.SelectExpandNode
Public Sub New (structuredType As IEdmStructuredType, writeContext As ODataSerializerContext)
Parameters
- structuredType
- IEdmStructuredType
The structural type of the resource that would be written.
- writeContext
- ODataSerializerContext
The serializer context to be used while creating the collection.
Remarks
The default constructor is for unit testing only.
Applies to
SelectExpandNode(SelectExpandClause, IEdmStructuredType, IEdmModel)
Creates a new instance of the SelectExpandNode class describing the set of structural properties,
nested properties, navigation properties, and actions to select and expand for the given selectExpandClause
.
public SelectExpandNode (Microsoft.OData.UriParser.SelectExpandClause selectExpandClause, Microsoft.OData.Edm.IEdmStructuredType structuredType, Microsoft.OData.Edm.IEdmModel model);
new Microsoft.AspNet.OData.Formatter.Serialization.SelectExpandNode : Microsoft.OData.UriParser.SelectExpandClause * Microsoft.OData.Edm.IEdmStructuredType * Microsoft.OData.Edm.IEdmModel -> Microsoft.AspNet.OData.Formatter.Serialization.SelectExpandNode
Public Sub New (selectExpandClause As SelectExpandClause, structuredType As IEdmStructuredType, model As IEdmModel)
Parameters
- selectExpandClause
- SelectExpandClause
The parsed $select and $expand query options.
- structuredType
- IEdmStructuredType
The structural type of the resource that would be written.