共用方式為


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

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

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

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

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

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

適用於