Partilhar via


IConventionModel.RemoveEntityType Método

Definição

Sobrecargas

RemoveEntityType(IConventionEntityType)

Remove um tipo de entidade do modelo.

RemoveEntityType(String)

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

RemoveEntityType(Type)

Remove um tipo de entidade do modelo.

RemoveEntityType(String, String, IConventionEntityType)

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

RemoveEntityType(Type, String, IConventionEntityType)

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

RemoveEntityType(IConventionEntityType)

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

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

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

O nome do tipo de entidade a ser removido.

Retornos

O tipo de entidade que foi removido.

Aplica-se a

RemoveEntityType(Type)

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

O tipo de entidade a ser removido.

Retornos

O tipo de entidade que foi removido.

Aplica-se a

RemoveEntityType(String, String, IConventionEntityType)

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

O nome do tipo de entidade a ser removido.

definingNavigationName
String

A definição de navegação.

definingEntityType
IConventionEntityType

O tipo de entidade definidor.

Retornos

O tipo de entidade que foi removido.

Aplica-se a

RemoveEntityType(Type, String, IConventionEntityType)

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

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

definingNavigationName
String

A definição de navegação.

definingEntityType
IConventionEntityType

O tipo de entidade definidor.

Retornos

O tipo de entidade que foi removido.

Aplica-se a