AdoNetGrainStorageSiloBuilderExtensions.AddAdoNetGrainStorageAsDefault 方法

定义

重载

AddAdoNetGrainStorageAsDefault(ISiloBuilder, Action<OptionsBuilder<AdoNetGrainStorageOptions>>)

配置 silo 以使用 AdoNet grain 存储作为默认粒度存储。 有关配置数据库的说明,请参阅 http://aka.ms/orleans-sql-scripts

AddAdoNetGrainStorageAsDefault(ISiloBuilder, Action<AdoNetGrainStorageOptions>)

配置 silo 以使用 AdoNet grain 存储作为默认粒度存储。 有关配置数据库的说明,请参阅 http://aka.ms/orleans-sql-scripts

AddAdoNetGrainStorageAsDefault(ISiloBuilder, Action<OptionsBuilder<AdoNetGrainStorageOptions>>)

Source:
AdoNetGrainStorageSiloBuilderExtensions.cs
Source:
AdoNetGrainStorageSiloBuilderExtensions.cs
Source:
AdoNetGrainStorageSiloBuilderExtensions.cs
Source:
AdoNetGrainStorageSiloBuilderExtensions.cs

配置 silo 以使用 AdoNet grain 存储作为默认粒度存储。 有关配置数据库的说明,请参阅 http://aka.ms/orleans-sql-scripts

public static Orleans.Hosting.ISiloBuilder AddAdoNetGrainStorageAsDefault (this Orleans.Hosting.ISiloBuilder builder, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.AdoNetGrainStorageOptions>> configureOptions = default);
static member AddAdoNetGrainStorageAsDefault : Orleans.Hosting.ISiloBuilder * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.AdoNetGrainStorageOptions>> -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function AddAdoNetGrainStorageAsDefault (builder As ISiloBuilder, Optional configureOptions As Action(Of OptionsBuilder(Of AdoNetGrainStorageOptions)) = Nothing) As ISiloBuilder

参数

builder
ISiloBuilder

返回

注解

有关配置数据库的说明,请参阅 http://aka.ms/orleans-sql-scripts

适用于

AddAdoNetGrainStorageAsDefault(ISiloBuilder, Action<AdoNetGrainStorageOptions>)

Source:
AdoNetGrainStorageSiloBuilderExtensions.cs
Source:
AdoNetGrainStorageSiloBuilderExtensions.cs
Source:
AdoNetGrainStorageSiloBuilderExtensions.cs
Source:
AdoNetGrainStorageSiloBuilderExtensions.cs

配置 silo 以使用 AdoNet grain 存储作为默认粒度存储。 有关配置数据库的说明,请参阅 http://aka.ms/orleans-sql-scripts

public static Orleans.Hosting.ISiloBuilder AddAdoNetGrainStorageAsDefault (this Orleans.Hosting.ISiloBuilder builder, Action<Orleans.Configuration.AdoNetGrainStorageOptions> configureOptions);
static member AddAdoNetGrainStorageAsDefault : Orleans.Hosting.ISiloBuilder * Action<Orleans.Configuration.AdoNetGrainStorageOptions> -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function AddAdoNetGrainStorageAsDefault (builder As ISiloBuilder, configureOptions As Action(Of AdoNetGrainStorageOptions)) As ISiloBuilder

参数

builder
ISiloBuilder
configureOptions
Action<AdoNetGrainStorageOptions>

返回

注解

有关配置数据库的说明,请参阅 http://aka.ms/orleans-sql-scripts

适用于