ObjectStateManager.ChangeRelationshipState Method
.NET Framework 4.5
Changes the state of the specified relationship between two entity objects.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
ChangeRelationshipState<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. |
|
ChangeRelationshipState(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. |
|
ChangeRelationshipState(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. |