Lingua

MutableModelExtensions.AddOwned(IMutableModel, Type) Metodo

Definizione

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

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

Parametri

model
IMutableModel

Modello a cui aggiungere il tipo di proprietà.

clrTypetype
Type

Tipo del tipo di entità di proprietà.

Si applica a