Udostępnij za pośrednictwem


IMutableModel.RemoveEntityType Metoda

Definicja

Przeciążenia

RemoveEntityType(String)

Usuwa typ jednostki bez definiowania nawigacji z modelu.

RemoveEntityType(Type, String, IMutableEntityType)

Usuwa typ jednostki z danym typem, definiując nazwę nawigacji i definiujący typ jednostki

RemoveEntityType(String, String, IMutableEntityType)

Usuwa typ jednostki z danym typem, definiując nazwę nawigacji i definiujący typ jednostki

RemoveEntityType(IMutableEntityType)

Usuwa typ jednostki z modelu.

RemoveEntityType(Type)

Usuwa typ jednostki z modelu.

RemoveEntityType(String)

Usuwa typ jednostki bez definiowania nawigacji 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

Nazwa typu jednostki do usunięcia.

Zwraca

Typ jednostki, który został usunięty.

Dotyczy

RemoveEntityType(Type, String, IMutableEntityType)

Usuwa typ jednostki z danym typem, definiując nazwę nawigacji i definiujący typ jednostki

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

Klasa CLR używana do reprezentowania wystąpień tego typu jednostki.

definingNavigationName
String

Definiowanie nawigacji.

definingEntityType
IMutableEntityType

Definiowany typ jednostki.

Zwraca

Typ jednostki, który został usunięty.

Dotyczy

RemoveEntityType(String, String, IMutableEntityType)

Usuwa typ jednostki z danym typem, definiując nazwę nawigacji i definiujący typ jednostki

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

Nazwa typu jednostki do usunięcia.

definingNavigationName
String

Definiowanie nawigacji.

definingEntityType
IMutableEntityType

Definiowany typ jednostki.

Zwraca

Typ jednostki, który został usunięty.

Dotyczy

RemoveEntityType(IMutableEntityType)

Usuwa typ jednostki 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 jednostki do usunięcia.

Zwraca

Usunięty typ jednostki lub null jeśli typ jednostki nie został znaleziony.

Dotyczy

RemoveEntityType(Type)

Usuwa typ jednostki 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 jednostki do usunięcia.

Zwraca

Typ jednostki, który został usunięty.

Dotyczy