ConventionModelExtensions.FindIsOwnedConfigurationSource(IConventionModel, Type) Yöntem

Tanım

Verilen türü kullanan varlık türlerinin, keşfedildiğinde sahip olan türler olarak yapılandırılıp yapılandırılmadığını gösteren bir değer döndürür.

public static Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? FindIsOwnedConfigurationSource (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, Type clrType);
public static Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? FindIsOwnedConfigurationSource (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, Type type);
static member FindIsOwnedConfigurationSource : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * Type -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource>
static member FindIsOwnedConfigurationSource : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * Type -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource>
<Extension()>
Public Function FindIsOwnedConfigurationSource (model As IConventionModel, clrType As Type) As Nullable(Of ConfigurationSource)
<Extension()>
Public Function FindIsOwnedConfigurationSource (model As IConventionModel, type As Type) As Nullable(Of ConfigurationSource)

Parametreler

model
IConventionModel

Model.

clrTypetype
Type

Sahip olabilecek varlık türünün türü.

Döndürülenler

Nullable<ConfigurationSource>

Verilen tür adı sahip olarak işaretlenmişse yapılandırma kaynağı, null tersi durumda.

Şunlara uygulanır