CosmosModelExtensions.GetDefaultContainerConfigurationSource 方法

定义

返回默认容器名称的配置源。

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

参数

model
IConventionModel

模型。

返回

默认容器名称的配置源。

适用于