Bagikan melalui


ReferenceReferenceBuilder.SetPrincipalEntityType Metode

Definisi

Overload

SetPrincipalEntityType(String)

Mengatur jenis entitas yang merupakan utama hubungan.

SetPrincipalEntityType(Type)

Mengatur jenis entitas yang merupakan utama hubungan.

SetPrincipalEntityType(String)

Mengatur jenis entitas yang merupakan utama hubungan.

protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder SetPrincipalEntityType (string principalEntityTypeName);
abstract member SetPrincipalEntityType : string -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
override this.SetPrincipalEntityType : string -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
Protected Overridable Function SetPrincipalEntityType (principalEntityTypeName As String) As InternalRelationshipBuilder

Parameter

principalEntityTypeName
String

Nama jenis entitas utama.

Mengembalikan

Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder

Penyusun yang digunakan untuk mengonfigurasi hubungan ini.

Berlaku untuk

SetPrincipalEntityType(Type)

Mengatur jenis entitas yang merupakan utama hubungan.

protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder SetPrincipalEntityType (Type principalEntityType);
abstract member SetPrincipalEntityType : Type -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
override this.SetPrincipalEntityType : Type -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
Protected Overridable Function SetPrincipalEntityType (principalEntityType As Type) As InternalRelationshipBuilder

Parameter

principalEntityType
Type

Jenis entitas utama.

Mengembalikan

Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder

Penyusun yang digunakan untuk mengonfigurasi hubungan ini.

Berlaku untuk