ODataOutputContext.CreateODataDeltaResourceSetWriter Method
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.
Creates an ODataWriter to write a delta resource set.
public virtual Microsoft.OData.ODataWriter CreateODataDeltaResourceSetWriter (Microsoft.OData.Edm.IEdmEntitySetBase entitySet, Microsoft.OData.Edm.IEdmStructuredType resourceType);
abstract member CreateODataDeltaResourceSetWriter : Microsoft.OData.Edm.IEdmEntitySetBase * Microsoft.OData.Edm.IEdmStructuredType -> Microsoft.OData.ODataWriter
override this.CreateODataDeltaResourceSetWriter : Microsoft.OData.Edm.IEdmEntitySetBase * Microsoft.OData.Edm.IEdmStructuredType -> Microsoft.OData.ODataWriter
Public Overridable Function CreateODataDeltaResourceSetWriter (entitySet As IEdmEntitySetBase, resourceType As IEdmStructuredType) As ODataWriter
Parameters
- entitySet
- IEdmEntitySetBase
The entity set we are going to write entities for.
- resourceType
- IEdmStructuredType
The resource type for the items in the resource set to be written (or null if the entity set base type should be used).
Returns
The created writer.
Remarks
The write must flush the output when it's finished (inside the last Write call).