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