Condividi tramite


IMutableModel.RemoveEntityType Metodo

Definizione

Overload

RemoveEntityType(String)

Rimuove un tipo di entità senza una definizione di spostamento dal modello.

RemoveEntityType(Type, String, IMutableEntityType)

Rimuove un tipo di entità con il tipo specificato, definendo il nome di spostamento e il tipo di entità che definisce il tipo di entità

RemoveEntityType(String, String, IMutableEntityType)

Rimuove un tipo di entità con il tipo specificato, definendo il nome di spostamento e il tipo di entità che definisce il tipo di entità

RemoveEntityType(IMutableEntityType)

Rimuove un tipo di entità dal modello.

RemoveEntityType(Type)

Rimuove un tipo di entità dal modello.

RemoveEntityType(String)

Rimuove un tipo di entità senza una definizione di spostamento dal modello.

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

Parametri

name
String

Nome del tipo di entità da rimuovere.

Restituisce

Tipo di entità rimosso.

Si applica a

RemoveEntityType(Type, String, IMutableEntityType)

Rimuove un tipo di entità con il tipo specificato, definendo il nome di spostamento e il tipo di entità che definisce il tipo di entità

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

Parametri

type
Type

Classe CLR usata per rappresentare le istanze di questo tipo di entità.

definingNavigationName
String

Definizione dello spostamento.

definingEntityType
IMutableEntityType

Tipo di entità che definisce.

Restituisce

Tipo di entità rimosso.

Si applica a

RemoveEntityType(String, String, IMutableEntityType)

Rimuove un tipo di entità con il tipo specificato, definendo il nome di spostamento e il tipo di entità che definisce il tipo di entità

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

Parametri

name
String

Nome del tipo di entità da rimuovere.

definingNavigationName
String

Definizione dello spostamento.

definingEntityType
IMutableEntityType

Tipo di entità che definisce.

Restituisce

Tipo di entità rimosso.

Si applica a

RemoveEntityType(IMutableEntityType)

Rimuove un tipo di entità dal modello.

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

Parametri

entityType
IMutableEntityType

Tipo di entità da rimuovere.

Restituisce

Tipo di entità rimosso o null se il tipo di entità non è stato trovato.

Si applica a

RemoveEntityType(Type)

Rimuove un tipo di entità dal modello.

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

Parametri

type
Type

Tipo di entità da rimuovere.

Restituisce

Tipo di entità rimosso.

Si applica a