EntityStateFns Class Breeze.sharp
Provides a set of static methods extending an IEntity to provide information about the EntityState.
Inheritance Hierarchy

SystemObject
  Breeze.SharpEntityStateFns

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

public static class EntityStateFns

The EntityStateFns type exposes the following members.

Methods

  NameDescription
Public methodStatic memberIsAdded
Whether this Entity has been added.
Public methodStatic memberIsAddedOrModified
Whether this Entity has been either added or modified.
Public methodStatic memberIsAddedOrModifiedOrDeleted
Whether this Entity has been added, modified or deleted.
Public methodStatic memberIsDeleted
Whether this Entity has been deleted (but the change has not yet been persisted to the data source).
Public methodStatic memberIsDeletedOrDetached
Whether this Entity has been either deleted or detached.
Public methodStatic memberIsDeletedOrModified
Whether this Entity has been either deleted or modified
Public methodStatic memberIsDetached
Whether this Entity has been detached (either not yet attached or removed via RemoveFromManager).
Public methodStatic memberIsModified
Whether this Entity has been modified.
Public methodStatic memberIsUnchanged
Whether this Entity is unchanged.
Top
Remarks

To use these extensions, add a using statement (Imports in Visual Basic) for this namespace to your class.

For more information on extension methods, see Extension Methods (C# Programming Guide) or Extension Methods (Visual Basic) in the Visual Studio 2008 documentation.

See Also

Reference