SiloBuilderExtensions.AddAdoNetGrainStorage 方法

定义

重载

AddAdoNetGrainStorage(IServiceCollection, Action<AdoNetGrainStorageOptions>)

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

AddAdoNetGrainStorage(IServiceCollection, String, Action<OptionsBuilder<AdoNetGrainStorageOptions>>)

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

AddAdoNetGrainStorage(IServiceCollection, String, Action<AdoNetGrainStorageOptions>)

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

AddAdoNetGrainStorage(ISiloBuilder, String, Action<OptionsBuilder<AdoNetGrainStorageOptions>>)

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

AddAdoNetGrainStorage(ISiloBuilder, String, Action<AdoNetGrainStorageOptions>)

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

AddAdoNetGrainStorage(ISiloHostBuilder, String, Action<OptionsBuilder<AdoNetGrainStorageOptions>>)

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

AddAdoNetGrainStorage(ISiloHostBuilder, String, Action<AdoNetGrainStorageOptions>)

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

AddAdoNetGrainStorage(IServiceCollection, Action<AdoNetGrainStorageOptions>)

Source:
SiloBuilderExtensions.cs

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

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddAdoNetGrainStorage (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<Orleans.Configuration.AdoNetGrainStorageOptions> configureOptions);
static member AddAdoNetGrainStorage : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Orleans.Configuration.AdoNetGrainStorageOptions> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddAdoNetGrainStorage (services As IServiceCollection, configureOptions As Action(Of AdoNetGrainStorageOptions)) As IServiceCollection

参数

configureOptions
Action<AdoNetGrainStorageOptions>

返回

注解

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

适用于

AddAdoNetGrainStorage(IServiceCollection, String, Action<OptionsBuilder<AdoNetGrainStorageOptions>>)

Source:
SiloBuilderExtensions.cs

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

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

参数

name
String

返回

注解

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

适用于

AddAdoNetGrainStorage(IServiceCollection, String, Action<AdoNetGrainStorageOptions>)

Source:
SiloBuilderExtensions.cs

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

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddAdoNetGrainStorage (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, string name, Action<Orleans.Configuration.AdoNetGrainStorageOptions> configureOptions);
static member AddAdoNetGrainStorage : Microsoft.Extensions.DependencyInjection.IServiceCollection * string * Action<Orleans.Configuration.AdoNetGrainStorageOptions> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddAdoNetGrainStorage (services As IServiceCollection, name As String, configureOptions As Action(Of AdoNetGrainStorageOptions)) As IServiceCollection

参数

name
String
configureOptions
Action<AdoNetGrainStorageOptions>

返回

注解

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

适用于

AddAdoNetGrainStorage(ISiloBuilder, String, Action<OptionsBuilder<AdoNetGrainStorageOptions>>)

Source:
SiloBuilderExtensions.cs

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

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

参数

builder
ISiloBuilder
name
String

返回

注解

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

适用于

AddAdoNetGrainStorage(ISiloBuilder, String, Action<AdoNetGrainStorageOptions>)

Source:
SiloBuilderExtensions.cs

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

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

参数

builder
ISiloBuilder
name
String
configureOptions
Action<AdoNetGrainStorageOptions>

返回

注解

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

适用于

AddAdoNetGrainStorage(ISiloHostBuilder, String, Action<OptionsBuilder<AdoNetGrainStorageOptions>>)

Source:
SiloBuilderExtensions.cs

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

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

参数

name
String

返回

注解

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

适用于

AddAdoNetGrainStorage(ISiloHostBuilder, String, Action<AdoNetGrainStorageOptions>)

Source:
SiloBuilderExtensions.cs

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

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

参数

name
String
configureOptions
Action<AdoNetGrainStorageOptions>

返回

注解

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

适用于