Export (0) Print
Expand All

ObjectStateEntry Methods

The ObjectStateEntry type exposes the following members.

  NameDescription
Public method AcceptChanges Accepts the current values as original values.
Public method ApplyCurrentValues Sets the current values of the entry to match the property values of a supplied object.
Public method ApplyOriginalValues Sets the original values of the entry to match the property values of a supplied object.
Public method ChangeState Changes state of the entry to the specified EntityState value.
Public method Delete Marks an entity as deleted.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetModifiedProperties Returns the names of an object's properties that have changed since the last time SaveChanges was called.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetUpdatableOriginalValues Gets the updatable version of original values of the object associated with this ObjectStateEntry.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method SetModified Sets the state of the object or relationship to Modified.
Public method SetModifiedProperty Marks the specified property as modified.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Explicit interface implemetation Private method IEntityChangeTracker.EntityComplexMemberChanged Notifies the state manager that a complex property has changed.
Explicit interface implemetation Private method IEntityChangeTracker.EntityComplexMemberChanging Notifies the state manager that a complex property has a pending change.
Explicit interface implemetation Private method IEntityChangeTracker.EntityMemberChanged Notifies the state manager that a property has changed.
Explicit interface implemetation Private method IEntityChangeTracker.EntityMemberChanging Notifies the state manager that a property has a pending change.
Top

Community Additions

ADD
Show:
© 2014 Microsoft