AdoNetGrainStorageSiloBuilderExtensions.AddAdoNetGrainStorage 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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(ISiloBuilder, String, Action<OptionsBuilder<AdoNetGrainStorageOptions>>)
將定址接收器設定為使用 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
- configureOptions
- Action<OptionsBuilder<AdoNetGrainStorageOptions>>
傳回
備註
如需設定資料庫的指示,請參閱 http://aka.ms/orleans-sql-scripts 。
適用於
AddAdoNetGrainStorage(ISiloBuilder, String, Action<AdoNetGrainStorageOptions>)
將定址接收器設定為使用 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 。