Sdílet prostřednictvím


ConventionModelExtensions.RemoveEntityType Metoda

Definice

Přetížení

RemoveEntityType(IConventionModel, String)

Odebere typ entity bez definování navigace z modelu.

RemoveEntityType(IConventionModel, Type)

Odebere typ entity z modelu.

RemoveEntityType(IConventionModel, String, String, IConventionEntityType)

Odebere typ entity s definující navigaci z modelu.

RemoveEntityType(IConventionModel, Type, String, IConventionEntityType)

Odebere typ entity s definující navigaci z modelu.

RemoveEntityType(IConventionModel, String)

Odebere typ entity bez definování navigace z modelu.

public static Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType RemoveEntityType (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, string name);
static member RemoveEntityType : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * string -> Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType
<Extension()>
Public Function RemoveEntityType (model As IConventionModel, name As String) As IConventionEntityType

Parametry

model
IConventionModel

Model, ze který chcete odebrat typ entity.

name
String

Název typu entity, který se má odebrat.

Návraty

Typ entity, která byla odebrána.

Platí pro

RemoveEntityType(IConventionModel, Type)

Odebere typ entity z modelu.

public static Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType RemoveEntityType (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, Type type);
static member RemoveEntityType : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * Type -> Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType
<Extension()>
Public Function RemoveEntityType (model As IConventionModel, type As Type) As IConventionEntityType

Parametry

model
IConventionModel

Model, ze který chcete odebrat typ entity.

type
Type

Typ entity, který se má odebrat.

Návraty

Typ entity, která byla odebrána.

Platí pro

RemoveEntityType(IConventionModel, String, String, IConventionEntityType)

Odebere typ entity s definující navigaci z modelu.

public static Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType RemoveEntityType (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, string name, string definingNavigationName, Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType definingEntityType);
static member RemoveEntityType : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * string * string * Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType
<Extension()>
Public Function RemoveEntityType (model As IConventionModel, name As String, definingNavigationName As String, definingEntityType As IConventionEntityType) As IConventionEntityType

Parametry

model
IConventionModel

Model, ze který chcete odebrat typ entity.

name
String

Název typu entity, který se má odebrat.

definingNavigationName
String

Definující navigace.

definingEntityType
IConventionEntityType

Definující typ entity.

Návraty

Typ entity, která byla odebrána.

Platí pro

RemoveEntityType(IConventionModel, Type, String, IConventionEntityType)

Odebere typ entity s definující navigaci z modelu.

public static Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType RemoveEntityType (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, Type type, string definingNavigationName, Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType definingEntityType);
static member RemoveEntityType : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * Type * string * Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType
<Extension()>
Public Function RemoveEntityType (model As IConventionModel, type As Type, definingNavigationName As String, definingEntityType As IConventionEntityType) As IConventionEntityType

Parametry

model
IConventionModel

Model, ze který chcete odebrat typ entity.

type
Type

Třída CLR, která se používá k reprezentaci instancí tohoto typu entity.

definingNavigationName
String

Definující navigace.

definingEntityType
IConventionEntityType

Definující typ entity.

Návraty

Typ entity, která byla odebrána.

Platí pro