ObjectStateManager Methods

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Namespace:   System.Data.Objects
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

NameDescription
System_CAPS_pubmethodChangeObjectState(Object, EntityState)

Changes state of the ObjectStateEntry for a specific object to the specified entityState.

System_CAPS_pubmethodChangeRelationshipState(Object, Object, String, EntityState)

Changes the state of the relationship between two entity objects that is specified based on the two related objects and the name of the navigation property.

System_CAPS_pubmethodChangeRelationshipState(Object, Object, String, String, EntityState)

Changes the state of the relationship between two entity objects that is specified based on the two related objects and the properties of the relationship.

System_CAPS_pubmethodChangeRelationshipState<TEntity>(TEntity, Object, Expression<Func<TEntity, Object>>, EntityState)

Changes the state of the relationship between two entity objects that is specified based on the two related objects and a LINQ expression that defines the navigation property.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetObjectStateEntries(EntityState)

Returns a collection of ObjectStateEntry objects for objects or relationships with the given state.

System_CAPS_pubmethodGetObjectStateEntry(EntityKey)

Returns an ObjectStateEntry for the object or relationship entry with the specified key.

System_CAPS_pubmethodGetObjectStateEntry(Object)

Returns an ObjectStateEntry for the specified object.

System_CAPS_pubmethodGetRelationshipManager(Object)

Returns the RelationshipManager that is used by the specified object.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodTryGetObjectStateEntry(EntityKey, ObjectStateEntry)

Tries to retrieve the corresponding ObjectStateEntry for the object or relationship with the specified EntityKey.

System_CAPS_pubmethodTryGetObjectStateEntry(Object, ObjectStateEntry)

Tries to retrieve the corresponding ObjectStateEntry for the specified Object.

System_CAPS_pubmethodTryGetRelationshipManager(Object, RelationshipManager)

Returns the RelationshipManager that is used by the specified object.

Return to top
Show: