EntityTypeBuilder.HasManyBuilder Yöntem

Tanım

Aşırı Yüklemeler

HasManyBuilder(EntityType, PropertyInfo)

Bu API, Entity Framework Core altyapısını destekler ve doğrudan kodunuzdan kullanılmaya yönelik değildir. Bu API gelecek sürümlerde değişebilir veya kaldırılabilir.

HasManyBuilder(EntityType, String)

Bu API, Entity Framework Core altyapısını destekler ve doğrudan kodunuzdan kullanılmaya yönelik değildir. Bu API gelecek sürümlerde değişebilir veya kaldırılabilir.

HasManyBuilder(EntityType, PropertyInfo)

Bu API, Entity Framework Core altyapısını destekler ve doğrudan kodunuzdan kullanılmaya yönelik değildir. Bu API gelecek sürümlerde değişebilir veya kaldırılabilir.

protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder HasManyBuilder (Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType relatedEntityType, System.Reflection.PropertyInfo navigationProperty);
abstract member HasManyBuilder : Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType * System.Reflection.PropertyInfo -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
override this.HasManyBuilder : Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType * System.Reflection.PropertyInfo -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
Protected Overridable Function HasManyBuilder (relatedEntityType As EntityType, navigationProperty As PropertyInfo) As InternalRelationshipBuilder

Parametreler

relatedEntityType
Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType

İlişkinin hedeflediği varlık türü.

navigationProperty
PropertyInfo

Bu varlıktaki koleksiyon gezintisi özelliği. Null değeri geçiri ise, gezinti özelliği olmayan bir ilişki oluşturulur.

Döndürülenler

Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder

Yeni oluşturulan oluşturucu.

Şunlara uygulanır

HasManyBuilder(EntityType, String)

Bu API, Entity Framework Core altyapısını destekler ve doğrudan kodunuzdan kullanılmaya yönelik değildir. Bu API gelecek sürümlerde değişebilir veya kaldırılabilir.

protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder HasManyBuilder (Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType relatedEntityType, string navigationName);
abstract member HasManyBuilder : Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType * string -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
override this.HasManyBuilder : Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType * string -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
Protected Overridable Function HasManyBuilder (relatedEntityType As EntityType, navigationName As String) As InternalRelationshipBuilder

Parametreler

relatedEntityType
Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType

İlişkinin hedeflene varlık türü.

navigationName
String

Bu varlık üzerinde koleksiyon gezinti özelliğinin adı. Null değeri geçiri ise, gezinti özelliği olmayan bir ilişki oluşturulur.

Döndürülenler

Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder

Yeni oluşturulan oluşturucu.

Şunlara uygulanır