IMutableModel.RemoveEntityType Método

Definição

Sobrecargas

RemoveEntityType(String)

Remove um tipo de entidade sem uma navegação definidora do modelo.

RemoveEntityType(Type, String, IMutableEntityType)

Remove um tipo de entidade com o tipo fornecido, definindo o nome de navegação e o tipo de entidade definidor

RemoveEntityType(String, String, IMutableEntityType)

Remove um tipo de entidade com o tipo fornecido, definindo o nome de navegação e o tipo de entidade definidor

RemoveEntityType(IMutableEntityType)

Remove um tipo de entidade do modelo.

RemoveEntityType(Type)

Remove um tipo de entidade do modelo.

RemoveEntityType(String)

Remove um tipo de entidade sem uma navegação definidora do 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

O nome do tipo de entidade a ser removido.

Retornos

O tipo de entidade que foi removido.

Aplica-se a

RemoveEntityType(Type, String, IMutableEntityType)

Remove um tipo de entidade com o tipo fornecido, definindo o nome de navegação e o tipo de entidade definidor

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

A classe CLR usada para representar instâncias desse tipo de entidade.

definingNavigationName
String

A definição de navegação.

definingEntityType
IMutableEntityType

O tipo de entidade definidor.

Retornos

O tipo de entidade que foi removido.

Aplica-se a

RemoveEntityType(String, String, IMutableEntityType)

Remove um tipo de entidade com o tipo fornecido, definindo o nome de navegação e o tipo de entidade definidor

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

O nome do tipo de entidade a ser removido.

definingNavigationName
String

A definição de navegação.

definingEntityType
IMutableEntityType

O tipo de entidade definidor.

Retornos

O tipo de entidade que foi removido.

Aplica-se a

RemoveEntityType(IMutableEntityType)

Remove um tipo de entidade do 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

O tipo de entidade a ser removido.

Retornos

O tipo de entidade removido ou null se o tipo de entidade não foi encontrado.

Aplica-se a

RemoveEntityType(Type)

Remove um tipo de entidade do 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

O tipo de entidade a ser removido.

Retornos

O tipo de entidade que foi removido.

Aplica-se a