ConventionModelExtensions.FindIsOwnedConfigurationSource Methode

Definition

Gibt einen Wert zurück, der angibt, ob die Entitätstypen, die den angegebenen Typ verwenden, bei der Ermittlung als eigene Typen konfiguriert werden sollen.

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)

Parameter

model
IConventionModel

Das Modell.

clrTypetype
Type

Der Typ des Entitätstyps, der im Besitz sein könnte.

Gibt zurück

Die Konfigurationsquelle, wenn der angegebene Typname als im Besitz markiert ist, null andernfalls.

Gilt für: