Export (0) Print
Expand All

EntityDescriptor Class

Description of modifications done to entities by operations returned in a DataServiceResponse.

Namespace:  System.Data.Services.Client
Assembly:  System.Data.Services.Client (in System.Data.Services.Client.dll)

public sealed class EntityDescriptor : Descriptor

This topic describes new functionality in ADO.NET Data Services that is available as an update to the .NET Framework version 3.5 Service Pack 1. You can download and install the update from the Microsoft Download Center.

The SaveChanges method returns a DataServiceResponse object that contains a series of OperationResponse objects each of which contains a sequence of EntityDescriptor or LinkDescriptor instances that represent changes that were persisted.

For successful operations, the State property of the descriptor will be set to unchanged and the new values for insert and update operations will be merged according to the merge settings.

For operations with errors, the State of the descriptor will remain the same as it was before SaveChanges was called.

If an error occurred and processing stopped during an operation, the State will remain unchanged.

System.Object
  System.Data.Services.Client.Descriptor
    System.Data.Services.Client.EntityDescriptor

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5 SP1

Community Additions

ADD
Show:
© 2014 Microsoft