RelationshipManager.Create Method (IEntityWithRelationships)

 

Creates a new RelationshipManager object.

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

public static RelationshipManager Create(
	IEntityWithRelationships owner
)

Parameters

owner
Type: System.Data.Objects.DataClasses.IEntityWithRelationships

Reference to the entity that is calling this method.

The Create method is used by objects that implement IEntityWithRelationships. When Object Services requests the RelationshipManager property of an object that implements IEntityWithRelationships, the Create method is called if the relationship manager does not already exist for the object.

.NET Framework
Available since 3.5
Return to top
Show: