ConventionModelExtensions.RemoveOwned(IConventionModel, Type) Metodo

Definizione

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

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

Parametri

model
IConventionModel

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