Sdílet prostřednictvím


MutableModelExtensions.RemoveEntityType Metoda

Definice

Přetížení

RemoveEntityType(IMutableModel, IMutableEntityType)

Odebere typ entity z modelu.

RemoveEntityType(IMutableModel, String)

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

RemoveEntityType(IMutableModel, Type)

Odebere typ entity z modelu.

RemoveEntityType(IMutableModel, String, String, IMutableEntityType)

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

RemoveEntityType(IMutableModel, Type, String, IMutableEntityType)

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

RemoveEntityType(IMutableModel, IMutableEntityType)

Odebere typ entity z modelu.

public static Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType RemoveEntityType (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType);
static member RemoveEntityType : Microsoft.EntityFrameworkCore.Metadata.IMutableModel * Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType -> Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType
<Extension()>
Public Function RemoveEntityType (model As IMutableModel, entityType As IMutableEntityType) As IMutableEntityType

Parametry

model
IMutableModel

Model, ze který chcete odebrat typ entity.

entityType
IMutableEntityType

Typ entity, který se má odebrat.

Návraty

Typ entity, která byla odebrána.

Platí pro

RemoveEntityType(IMutableModel, String)

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

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

Parametry

model
IMutableModel

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(IMutableModel, Type)

Odebere typ entity z modelu.

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

Parametry

model
IMutableModel

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(IMutableModel, String, String, IMutableEntityType)

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

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

Parametry

model
IMutableModel

Model, ze který chcete odebrat typ entity.

name
String

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

definingNavigationName
String

Definující navigace.

definingEntityType
IMutableEntityType

Definující typ entity.

Návraty

Typ entity, která byla odebrána.

Platí pro

RemoveEntityType(IMutableModel, Type, String, IMutableEntityType)

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

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

Parametry

model
IMutableModel

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
IMutableEntityType

Definující typ entity.

Návraty

Typ entity, která byla odebrána.

Platí pro