SiloBuilderExtensions.AddAdoNetGrainStorageAsDefault 方法

定义

重载

AddAdoNetGrainStorageAsDefault(ISiloHostBuilder, Action<AdoNetGrainStorageOptions>)

将接收器配置为使用 AdoNet 粒度存储作为默认粒度存储。 有关配置数据库的说明,可在以下位置 http://aka.ms/orleans-sql-scripts使用。

AddAdoNetGrainStorageAsDefault(ISiloBuilder, Action<AdoNetGrainStorageOptions>)

将接收器配置为使用 AdoNet 粒度存储作为默认粒度存储。 有关配置数据库的说明,可在以下位置 http://aka.ms/orleans-sql-scripts使用。

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

将接收器配置为使用 AdoNet 粒度存储作为默认粒度存储。 有关配置数据库的说明,可在以下位置 http://aka.ms/orleans-sql-scripts使用。

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

将接收器配置为使用 AdoNet 粒度存储作为默认粒度存储。 有关配置数据库的说明,可在以下位置 http://aka.ms/orleans-sql-scripts使用。

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

将接收器配置为使用 AdoNet 粒度存储作为默认粒度存储。 有关配置数据库的说明,可在以下位置 http://aka.ms/orleans-sql-scripts使用。

AddAdoNetGrainStorageAsDefault(ISiloHostBuilder, Action<AdoNetGrainStorageOptions>)

Source:
SiloBuilderExtensions.cs

将接收器配置为使用 AdoNet 粒度存储作为默认粒度存储。 有关配置数据库的说明,可在以下位置 http://aka.ms/orleans-sql-scripts使用。

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

参数

configureOptions
Action<AdoNetGrainStorageOptions>

返回

注解

有关配置数据库的说明,可在以下位置 http://aka.ms/orleans-sql-scripts使用。

适用于

AddAdoNetGrainStorageAsDefault(ISiloBuilder, Action<AdoNetGrainStorageOptions>)

Source:
SiloBuilderExtensions.cs

将接收器配置为使用 AdoNet 粒度存储作为默认粒度存储。 有关配置数据库的说明,可在以下位置 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使用。

适用于

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

Source:
SiloBuilderExtensions.cs

将接收器配置为使用 AdoNet 粒度存储作为默认粒度存储。 有关配置数据库的说明,可在以下位置 http://aka.ms/orleans-sql-scripts使用。

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

参数

返回

注解

有关配置数据库的说明,可在以下位置 http://aka.ms/orleans-sql-scripts使用。

适用于

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

Source:
SiloBuilderExtensions.cs

将接收器配置为使用 AdoNet 粒度存储作为默认粒度存储。 有关配置数据库的说明,可在以下位置 http://aka.ms/orleans-sql-scripts使用。

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

参数

返回

注解

有关配置数据库的说明,可在以下位置 http://aka.ms/orleans-sql-scripts使用。

适用于

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

Source:
SiloBuilderExtensions.cs

将接收器配置为使用 AdoNet 粒度存储作为默认粒度存储。 有关配置数据库的说明,可在以下位置 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使用。

适用于