共用方式為


CosmosModelExtensions.GetDiscriminatorInKeyConfigurationSource Method

Definition

public static Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? GetDiscriminatorInKeyConfigurationSource (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model);
static member GetDiscriminatorInKeyConfigurationSource : Microsoft.EntityFrameworkCore.Metadata.IConventionModel -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource>
<Extension()>
Public Function GetDiscriminatorInKeyConfigurationSource (model As IConventionModel) As Nullable(Of ConfigurationSource)

Parameters

model
IConventionModel

The model.

Returns

The ConfigurationSource.

Applies to