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.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om