Entity.EntityState Property

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Gets the current state of this Entity.

Namespace:  System.ServiceModel.DomainServices.Client
Assembly:  System.ServiceModel.DomainServices.Client (in System.ServiceModel.DomainServices.Client.dll)

Syntax

'Declaration
<DisplayAttribute(AutoGenerateField := False)> _
Public Property EntityState As EntityState
    Get
    Private Set
'Usage
Dim instance As Entity
Dim value As EntityState

value = instance.EntityState
[DisplayAttribute(AutoGenerateField = false)]
public EntityState EntityState { get; private set; }
[DisplayAttribute(AutoGenerateField = false)]
public:
property EntityState EntityState {
    EntityState get ();
    private: void set (EntityState value);
}
[<DisplayAttribute(AutoGenerateField = false)>]
member EntityState : EntityState with get, private set
function get EntityState () : EntityState
private function set EntityState (value : EntityState)

Property Value

Type: System.ServiceModel.DomainServices.Client.EntityState
The EntityState representing the current state of this Entity.

See Also

Reference

Entity Class

System.ServiceModel.DomainServices.Client Namespace