RelationshipManager.Create(IEntityWithRelationships) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new RelationshipManager object.
public:
static System::Data::Objects::DataClasses::RelationshipManager ^ Create(System::Data::Objects::DataClasses::IEntityWithRelationships ^ owner);
public static System.Data.Objects.DataClasses.RelationshipManager Create (System.Data.Objects.DataClasses.IEntityWithRelationships owner);
static member Create : System.Data.Objects.DataClasses.IEntityWithRelationships -> System.Data.Objects.DataClasses.RelationshipManager
Public Shared Function Create (owner As IEntityWithRelationships) As RelationshipManager
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
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort: Gedurende 2024 worden GitHub Issues uitgefaseerd als het feedbackmechanisme voor inhoud. Dit wordt vervangen door een nieuw feedbacksysteem. Ga voor meer informatie naar:Feedback verzenden en bekijken voor