Condividi tramite


MutableModelExtensions.RemoveOwned(IMutableModel, Type) Metodo

Definizione

Rimuove il tipo di proprietà specificato, che indica che quando i tipi di entità individuati non devono essere configurati come di proprietà.

public static void RemoveOwned (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, Type clrType);
public static string RemoveOwned (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, Type type);
static member RemoveOwned : Microsoft.EntityFrameworkCore.Metadata.IMutableModel * Type -> unit
static member RemoveOwned : Microsoft.EntityFrameworkCore.Metadata.IMutableModel * Type -> string
<Extension()>
Public Sub RemoveOwned (model As IMutableModel, clrType As Type)
<Extension()>
Public Function RemoveOwned (model As IMutableModel, type As Type) As String

Parametri

model
IMutableModel

Modello da cui rimuovere il nome del tipo di proprietà.

clrTypetype
Type

Tipo del tipo di entità che non deve essere di proprietà.

Restituisce

Nome del tipo di proprietà rimosso.

Si applica a