IEntity Interface Breeze.sharp
Interface that describes an Entity.

Namespace: Breeze.Sharp
Assembly: Breeze.Sharp (in Breeze.Sharp.dll) Version: 0.6.0.5 (0.6.0.5)
Syntax

public interface IEntity : IStructuralObject, 
	INotifyDataErrorInfo, INotifyPropertyChanged, IEditableObject, IRevertibleChangeTracking, IChangeTracking, 
	IComparable

The IEntity type exposes the following members.

Methods

  NameDescription
Public methodAcceptChanges
Resets the object’s state to unchanged by accepting the modifications.
(Inherited from IChangeTracking.)
Public methodBeginEdit
Begins an edit on an object.
(Inherited from IEditableObject.)
Public methodCancelEdit (Inherited from IEditableObject.)
Public methodCompareTo
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 methodEndEdit (Inherited from IEditableObject.)
Public methodGetErrors
Gets the validation errors for a specified property or for the entire entity.
(Inherited from INotifyDataErrorInfo.)
Public methodInitialize
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 methodRejectChanges
Resets the object’s state to unchanged by rejecting the modifications.
(Inherited from IRevertibleChangeTracking.)
Top
Extension Methods

  NameDescription
Public Extension MethodGetStructuralAspect
Returns either a EntityAspect or ComplexAspect for the associated IStructuralObject.
(Defined by StructuralObjectExtensions.)
Top
Properties

  NameDescription
Public propertyEntityAspect
Returns the EntityAspect associated with this IEntity.
Public propertyHasErrors
Gets a value that indicates whether the entity has validation errors.
(Inherited from INotifyDataErrorInfo.)
Public propertyIsChanged
Gets the object's changed status.
(Inherited from IChangeTracking.)
Top
Events

  NameDescription
Public eventErrorsChanged
Occurs when the validation errors have changed for a property or for the entire entity.
(Inherited from INotifyDataErrorInfo.)
Public eventPropertyChanged
Occurs when a property value changes.
(Inherited from INotifyPropertyChanged.)
Top
See Also

Reference