Aracılığıyla paylaş


EntityTypeBuilder.HasBaseType Yöntem

Tanım

Aşırı Yüklemeler

HasBaseType(Type)

Devralma hiyerarşisinde bu varlık türünün temel türünü ayarlar.

HasBaseType(String)

Devralma hiyerarşisinde bu varlık türünün temel türünü ayarlar.

HasBaseType(Type)

Devralma hiyerarşisinde bu varlık türünün temel türünü ayarlar.

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder HasBaseType (Type entityType);
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder HasBaseType (Type? entityType);
abstract member HasBaseType : Type -> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder
override this.HasBaseType : Type -> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder
Public Overridable Function HasBaseType (entityType As Type) As EntityTypeBuilder

Parametreler

entityType
Type

Temel türü veya null hiçbir temel türü belirtmemek için.

Döndürülenler

Birden çok yapılandırma çağrısının zincirlenebilmesi için aynı oluşturucu örneği.

Şunlara uygulanır

HasBaseType(String)

Devralma hiyerarşisinde bu varlık türünün temel türünü ayarlar.

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder HasBaseType (string name);
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder HasBaseType (string? name);
abstract member HasBaseType : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder
override this.HasBaseType : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder
Public Overridable Function HasBaseType (name As String) As EntityTypeBuilder

Parametreler

name
String

Temel türün adı veya null temel türü belirtmemek için.

Döndürülenler

Birden çok yapılandırma çağrısının zincirlenebilmesi için aynı oluşturucu örneği.

Şunlara uygulanır