IEntity Methods

The IEntity type exposes the following members.


  Name Description
Public method AcceptChanges
Resets the object’s state to unchanged by accepting the modifications.
(Inherited from IChangeTracking.)
Public method BeginEdit
Begins an edit on an object.
(Inherited from IEditableObject.)
Public method CancelEdit (Inherited from IEditableObject.)
Public method CompareTo
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
(Inherited from IComparable.)
Public method EndEdit (Inherited from IEditableObject.)
Public method GetErrors
Gets the validation errors for a specified property or for the entire entity.
(Inherited from INotifyDataErrorInfo.)
Public method Initialize
Method that is automatically called after the materialization of any IEntity or IComplexObject after being retrieved from a remote data service.
(Inherited from IStructuralObject.)
Public method RejectChanges
Resets the object’s state to unchanged by rejecting the modifications.
(Inherited from IRevertibleChangeTracking.)
Extension Methods

  Name Description
Public Extension Method GetStructuralAspect
Returns either a EntityAspect or ComplexAspect for the associated IStructuralObject.
(Defined by StructuralObjectExtensions.)
See Also