AdoNetGrainStorageServiceCollectionExtensions.AddAdoNetGrainStorage 方法

定义

重载

AddAdoNetGrainStorage(IServiceCollection, Action<AdoNetGrainStorageOptions>)

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

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

配置 silo 以将 AdoNet grain 存储用于 grain 存储。 有关配置数据库的说明,请参阅 http://aka.ms/orleans-sql-scripts

AddAdoNetGrainStorage(IServiceCollection, String, Action<AdoNetGrainStorageOptions>)

配置 silo 以将 AdoNet grain 存储用于 grain 存储。 有关配置数据库的说明,请参阅 http://aka.ms/orleans-sql-scripts

AddAdoNetGrainStorage(IServiceCollection, Action<AdoNetGrainStorageOptions>)

Source:
AdoNetGrainStorageServiceCollectionExtensions.cs
Source:
AdoNetGrainStorageServiceCollectionExtensions.cs
Source:
AdoNetGrainStorageServiceCollectionExtensions.cs
Source:
AdoNetGrainStorageServiceCollectionExtensions.cs

配置 silo 以使用 AdoNet grain 存储作为默认粒度存储。 有关配置数据库的说明,请参阅 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:
AdoNetGrainStorageServiceCollectionExtensions.cs
Source:
AdoNetGrainStorageServiceCollectionExtensions.cs
Source:
AdoNetGrainStorageServiceCollectionExtensions.cs
Source:
AdoNetGrainStorageServiceCollectionExtensions.cs

配置 silo 以将 AdoNet grain 存储用于 grain 存储。 有关配置数据库的说明,请参阅 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:
AdoNetGrainStorageServiceCollectionExtensions.cs
Source:
AdoNetGrainStorageServiceCollectionExtensions.cs
Source:
AdoNetGrainStorageServiceCollectionExtensions.cs
Source:
AdoNetGrainStorageServiceCollectionExtensions.cs

配置 silo 以将 AdoNet grain 存储用于 grain 存储。 有关配置数据库的说明,请参阅 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

适用于