共用方式為


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>)

來源:
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>>)

來源:
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>)

來源:
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>>)

來源:
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>)

來源:
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>>)

來源:
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>)

來源:
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

適用於