ReferenceReferenceBuilder.SetPrincipalEntityType Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Aşırı Yüklemeler
| SetPrincipalEntityType(String) |
İlişkinin sorumlusu olan varlık türünü ayarlar. |
| SetPrincipalEntityType(Type) |
İlişkinin sorumlusu olan varlık türünü ayarlar. |
SetPrincipalEntityType(String)
İlişkinin sorumlusu olan varlık türünü ayarlar.
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
Parametreler
- principalEntityTypeName
- String
Asıl varlık türünün adı.
Döndürülenler
- Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
Bu ilişkiyi yapılandırmak için kullanılan Oluşturucu.
Şunlara uygulanır
SetPrincipalEntityType(Type)
İlişkinin sorumlusu olan varlık türünü ayarlar.
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
Parametreler
- principalEntityType
- Type
Sorumlu varlık türü.
Döndürülenler
- Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
Bu ilişkiyi yapılandırmak için kullanılan Oluşturucu.