Compartir a través de


IConventionModel.RemoveEntityType Método

Definición

Sobrecargas

RemoveEntityType(IConventionEntityType)

Quita un tipo de entidad del modelo.

RemoveEntityType(String)

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

RemoveEntityType(Type)

Quita un tipo de entidad del modelo.

RemoveEntityType(String, String, IConventionEntityType)

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

RemoveEntityType(Type, String, IConventionEntityType)

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

RemoveEntityType(IConventionEntityType)

Quita un tipo de entidad del modelo.

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

Parámetros

entityType
IConventionEntityType

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(String)

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

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

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)

Quita un tipo de entidad del modelo.

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

Parámetros

type
Type

Tipo de entidad que se va a quitar.

Devoluciones

Tipo de entidad que se quitó.

Se aplica a

RemoveEntityType(String, String, IConventionEntityType)

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.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

Parámetros

name
String

Nombre del tipo de entidad que se va a quitar.

definingNavigationName
String

Navegación que define.

definingEntityType
IConventionEntityType

Tipo de entidad que define.

Devoluciones

Tipo de entidad que se quitó.

Se aplica a

RemoveEntityType(Type, String, IConventionEntityType)

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.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

Parámetros

type
Type

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

definingNavigationName
String

Navegación que define.

definingEntityType
IConventionEntityType

Tipo de entidad que define.

Devoluciones

Tipo de entidad que se quitó.

Se aplica a