Bagikan melalui


RelationshipManager.Create(IEntityWithRelationships) Metode

Definisi

Membuat objek baru RelationshipManager .

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

Parameter

owner
IEntityWithRelationships

Referensi ke entitas yang memanggil metode ini.

Mengembalikan

Yang diminta RelationshipManager.

Keterangan

Metode Create ini digunakan oleh objek yang mengimplementasikan IEntityWithRelationships. Ketika Object Services meminta RelationshipManager properti objek yang mengimplementasikan IEntityWithRelationships, Create metode dipanggil jika manajer hubungan belum ada untuk objek.

Berlaku untuk