Compartir a través de


MutableModelExtensions.RemoveEntityType Método

Definición

Sobrecargas

RemoveEntityType(IMutableModel, IMutableEntityType)

Quita un tipo de entidad del modelo.

RemoveEntityType(IMutableModel, String)

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

RemoveEntityType(IMutableModel, Type)

Quita un tipo de entidad del modelo.

RemoveEntityType(IMutableModel, String, String, IMutableEntityType)

Quita un tipo de entidad con una navegación definitoria del modelo.

RemoveEntityType(IMutableModel, Type, String, IMutableEntityType)

Quita un tipo de entidad con una navegación definitoria del modelo.

RemoveEntityType(IMutableModel, IMutableEntityType)

Quita un tipo de entidad del modelo.

public static Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType RemoveEntityType (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType);
static member RemoveEntityType : Microsoft.EntityFrameworkCore.Metadata.IMutableModel * Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType -> Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType
<Extension()>
Public Function RemoveEntityType (model As IMutableModel, entityType As IMutableEntityType) As IMutableEntityType

Parámetros

model
IMutableModel

Modelo del que se va a quitar el tipo de entidad.

entityType
IMutableEntityType

Tipo de entidad que se va a quitar.

Devoluciones

Tipo de entidad que se quitó.

Se aplica a

RemoveEntityType(IMutableModel, String)

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

public static Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType RemoveEntityType (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, string name);
static member RemoveEntityType : Microsoft.EntityFrameworkCore.Metadata.IMutableModel * string -> Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType
<Extension()>
Public Function RemoveEntityType (model As IMutableModel, name As String) As IMutableEntityType

Parámetros

model
IMutableModel

Modelo del que se va a quitar el tipo de entidad.

name
String

Nombre del tipo de entidad que se va a quitar.

Devoluciones

Tipo de entidad que se quitó.

Se aplica a

RemoveEntityType(IMutableModel, Type)

Quita un tipo de entidad del modelo.

public static Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType RemoveEntityType (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, Type type);
static member RemoveEntityType : Microsoft.EntityFrameworkCore.Metadata.IMutableModel * Type -> Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType
<Extension()>
Public Function RemoveEntityType (model As IMutableModel, type As Type) As IMutableEntityType

Parámetros

model
IMutableModel

Modelo del que se va a quitar el tipo de entidad.

type
Type

Tipo de entidad que se va a quitar.

Devoluciones

Tipo de entidad que se quitó.

Se aplica a

RemoveEntityType(IMutableModel, String, String, IMutableEntityType)

Quita un tipo de entidad con una navegación definitoria del modelo.

public static Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType RemoveEntityType (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, string name, string definingNavigationName, Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType definingEntityType);
static member RemoveEntityType : Microsoft.EntityFrameworkCore.Metadata.IMutableModel * string * string * Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType -> Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType
<Extension()>
Public Function RemoveEntityType (model As IMutableModel, name As String, definingNavigationName As String, definingEntityType As IMutableEntityType) As IMutableEntityType

Parámetros

model
IMutableModel

Modelo del que se va a quitar el tipo de entidad.

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(IMutableModel, Type, String, IMutableEntityType)

Quita un tipo de entidad con una navegación definitoria del modelo.

public static Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType RemoveEntityType (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, Type type, string definingNavigationName, Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType definingEntityType);
static member RemoveEntityType : Microsoft.EntityFrameworkCore.Metadata.IMutableModel * Type * string * Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType -> Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType
<Extension()>
Public Function RemoveEntityType (model As IMutableModel, type As Type, definingNavigationName As String, definingEntityType As IMutableEntityType) As IMutableEntityType

Parámetros

model
IMutableModel

Modelo del que se va a quitar el tipo de entidad.

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