EntityObject.EntityState Property
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.
Gets the entity state of the object.
public:
property System::Data::EntityState EntityState { System::Data::EntityState get(); };
[System.ComponentModel.Browsable(false)]
public System.Data.EntityState EntityState { get; }
[<System.ComponentModel.Browsable(false)>]
member this.EntityState : System.Data.EntityState
Public ReadOnly Property EntityState As EntityState
Property Value
The EntityState of this object.
- Attributes
Remarks
When an object is attached to the object context, either as the result of a query or by calling Attach, the EntityState becomes Unchanged.
When an object is detached from the object context, it returns to the Detached state.
Applies to
See also
Werk met ons samen op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en bekijken. Raadpleeg onze gids voor inzenders voor meer informatie.