Udostępnij za pośrednictwem


IConventionModel.RemoveEntityType Metoda

Definicja

Przeciążenia

RemoveEntityType(IConventionEntityType)

Usuwa typ jednostki z modelu.

RemoveEntityType(String)

Usuwa typ jednostki bez definiowania nawigacji z modelu.

RemoveEntityType(Type)

Usuwa typ jednostki z modelu.

RemoveEntityType(String, String, IConventionEntityType)

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

RemoveEntityType(Type, String, IConventionEntityType)

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

RemoveEntityType(IConventionEntityType)

Usuwa typ jednostki z modelu.

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

Parametry

entityType
IConventionEntityType

Typ jednostki do usunięcia.

Zwraca

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

Dotyczy

RemoveEntityType(String)

Usuwa typ jednostki bez definiowania nawigacji z modelu.

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

Parametry

name
String

Nazwa typu jednostki do usunięcia.

Zwraca

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

Dotyczy

RemoveEntityType(Type)

Usuwa typ jednostki z modelu.

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

Parametry

type
Type

Typ jednostki do usunięcia.

Zwraca

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

Dotyczy

RemoveEntityType(String, String, IConventionEntityType)

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

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

Parametry

name
String

Nazwa typu jednostki do usunięcia.

definingNavigationName
String

Definiowanie nawigacji.

definingEntityType
IConventionEntityType

Definiujący typ jednostki.

Zwraca

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

Dotyczy

RemoveEntityType(Type, String, IConventionEntityType)

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

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

Parametry

type
Type

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

definingNavigationName
String

Definiowanie nawigacji.

definingEntityType
IConventionEntityType

Definiujący typ jednostki.

Zwraca

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

Dotyczy