Compartir a través de


IMutableModel.RemoveEntityType Método

Definición

Sobrecargas

RemoveEntityType(String)

Quita un tipo de entidad sin definir la navegación del modelo.

RemoveEntityType(Type, String, IMutableEntityType)

Quita un tipo de entidad con el tipo especificado, definiendo el nombre de navegación y el tipo de entidad que define.

RemoveEntityType(String, String, IMutableEntityType)

Quita un tipo de entidad con el tipo especificado, definiendo el nombre de navegación y el tipo de entidad que define.

RemoveEntityType(IMutableEntityType)

Quita un tipo de entidad del modelo.

RemoveEntityType(Type)

Quita un tipo de entidad del modelo.

RemoveEntityType(String)

Quita un tipo de entidad sin definir la navegación del modelo.

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

Parámetros

name
String

Nombre del tipo de entidad que se va a quitar.

Devoluciones

Tipo de entidad que se quitó.

Se aplica a

RemoveEntityType(Type, String, IMutableEntityType)

Quita un tipo de entidad con el tipo especificado, definiendo el nombre de navegación y el tipo de entidad que define.

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

Parámetros

type
Type

Clase CLR que se usa para representar instancias de este tipo de entidad.

definingNavigationName
String

Navegación que define.

definingEntityType
IMutableEntityType

Tipo de entidad que define.

Devoluciones

Tipo de entidad que se quitó.

Se aplica a

RemoveEntityType(String, String, IMutableEntityType)

Quita un tipo de entidad con el tipo especificado, definiendo el nombre de navegación y el tipo de entidad que define.

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

Parámetros

name
String

Nombre del tipo de entidad que se va a quitar.

definingNavigationName
String

Navegación que define.

definingEntityType
IMutableEntityType

Tipo de entidad que define.

Devoluciones

Tipo de entidad que se quitó.

Se aplica a

RemoveEntityType(IMutableEntityType)

Quita un tipo de entidad del modelo.

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

Parámetros

entityType
IMutableEntityType

Tipo de entidad que se va a quitar.

Devoluciones

Tipo de entidad quitado o null si no se encontró el tipo de entidad.

Se aplica a

RemoveEntityType(Type)

Quita un tipo de entidad del modelo.

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

Parámetros

type
Type

Tipo de entidad que se va a quitar.

Devoluciones

Tipo de entidad que se quitó.

Se aplica a