ConventionModelExtensions.IsOwned(IConventionModel, Type) Metodo

Definizione

Restituisce un valore che indica se i tipi di entità che usano il tipo specificato devono essere configurati come tipi di proprietà quando vengono individuati.

public static bool IsOwned (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, Type clrType);
public static bool IsOwned (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, Type type);
static member IsOwned : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * Type -> bool
static member IsOwned : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * Type -> bool
<Extension()>
Public Function IsOwned (model As IConventionModel, clrType As Type) As Boolean
<Extension()>
Public Function IsOwned (model As IConventionModel, type As Type) As Boolean

Parametri

model
IConventionModel

Modello.

clrTypetype
Type

Tipo del tipo di entità di proprietà.

Restituisce

true se il nome del tipo specificato è contrassegnato come di proprietà; in caso contrario, null .

Si applica a