Прочитај на енглеском Уреди

Делите путем


RelationshipManager.Create(IEntityWithRelationships) Method

Definition

Creates a new RelationshipManager object.

C#
public static System.Data.Objects.DataClasses.RelationshipManager Create(System.Data.Objects.DataClasses.IEntityWithRelationships owner);

Parameters

owner
IEntityWithRelationships

Reference to the entity that is calling this method.

Returns

The requested RelationshipManager.

Remarks

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.

Applies to

Производ Верзије
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1