Sdílet prostřednictvím


IMutableModel.RemoveEntityType Metoda

Definice

Přetížení

RemoveEntityType(String)

Odebere typ entity bez definující navigace z modelu.

RemoveEntityType(Type, String, IMutableEntityType)

Odebere typ entity s daným typem, definuje navigační název a definující typ entity.

RemoveEntityType(String, String, IMutableEntityType)

Odebere typ entity s daným typem, definuje navigační název a definující typ entity.

RemoveEntityType(IMutableEntityType)

Odebere typ entity z modelu.

RemoveEntityType(Type)

Odebere typ entity z modelu.

RemoveEntityType(String)

Odebere typ entity bez definující navigace z modelu.

public Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType RemoveEntityType (string name);
public Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType? RemoveEntityType (string name);
abstract member RemoveEntityType : string -> Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType
Public Function RemoveEntityType (name As String) As IMutableEntityType

Parametry

name
String

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

Návraty

Typ entity, který byl odebrán.

Platí pro

RemoveEntityType(Type, String, IMutableEntityType)

Odebere typ entity s daným typem, definuje navigační název a definující typ entity.

public Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType? RemoveEntityType (Type type, string definingNavigationName, Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType definingEntityType);
abstract member RemoveEntityType : Type * string * Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType -> Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType
Public Function RemoveEntityType (type As Type, definingNavigationName As String, definingEntityType As IMutableEntityType) As IMutableEntityType

Parametry

type
Type

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

definingNavigationName
String

Definující navigaci.

definingEntityType
IMutableEntityType

Definující typ entity.

Návraty

Typ entity, který byl odebrán.

Platí pro

RemoveEntityType(String, String, IMutableEntityType)

Odebere typ entity s daným typem, definuje navigační název a definující typ entity.

public Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType RemoveEntityType (string name, string definingNavigationName, Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType definingEntityType);
public Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType? RemoveEntityType (string name, string definingNavigationName, Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType definingEntityType);
abstract member RemoveEntityType : string * string * Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType -> Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType
Public Function RemoveEntityType (name As String, definingNavigationName As String, definingEntityType As IMutableEntityType) As IMutableEntityType

Parametry

name
String

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

definingNavigationName
String

Definující navigaci.

definingEntityType
IMutableEntityType

Definující typ entity.

Návraty

Typ entity, který byl odebrán.

Platí pro

RemoveEntityType(IMutableEntityType)

Odebere typ entity z modelu.

public void RemoveEntityType (Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType);
public Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType RemoveEntityType (Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType);
public Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType? RemoveEntityType (Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType);
abstract member RemoveEntityType : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType -> unit
abstract member RemoveEntityType : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType -> Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType
Public Sub RemoveEntityType (entityType As IMutableEntityType)
Public Function RemoveEntityType (entityType As IMutableEntityType) As IMutableEntityType

Parametry

entityType
IMutableEntityType

Typ entity, který se má odebrat.

Návraty

Odebraný typ entity nebo null pokud nebyl typ entity nalezen.

Platí pro

RemoveEntityType(Type)

Odebere typ entity z modelu.

public Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType? RemoveEntityType (Type type);
abstract member RemoveEntityType : Type -> Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType
Public Function RemoveEntityType (type As Type) As IMutableEntityType

Parametry

type
Type

Typ entity, který se má odebrat.

Návraty

Typ entity, který byl odebrán.

Platí pro