AdoNetGrainStorageServiceCollectionExtensions.AddAdoNetGrainStorage Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AddAdoNetGrainStorage(IServiceCollection, Action<AdoNetGrainStorageOptions>) |
Configure silo to use AdoNet grain storage as the default grain storage. Instructions on configuring your database are available at http://aka.ms/orleans-sql-scripts. |
AddAdoNetGrainStorage(IServiceCollection, String, Action<OptionsBuilder<AdoNetGrainStorageOptions>>) |
Configure silo to use AdoNet grain storage for grain storage. Instructions on configuring your database are available at http://aka.ms/orleans-sql-scripts. |
AddAdoNetGrainStorage(IServiceCollection, String, Action<AdoNetGrainStorageOptions>) |
Configure silo to use AdoNet grain storage for grain storage. Instructions on configuring your database are available at http://aka.ms/orleans-sql-scripts. |
AddAdoNetGrainStorage(IServiceCollection, Action<AdoNetGrainStorageOptions>)
Configure silo to use AdoNet grain storage as the default grain storage. Instructions on configuring your database are available at 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
Parameters
- services
- IServiceCollection
- configureOptions
- Action<AdoNetGrainStorageOptions>
Returns
Remarks
Instructions on configuring your database are available at http://aka.ms/orleans-sql-scripts.
Applies to
AddAdoNetGrainStorage(IServiceCollection, String, Action<OptionsBuilder<AdoNetGrainStorageOptions>>)
Configure silo to use AdoNet grain storage for grain storage. Instructions on configuring your database are available at 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
Parameters
- services
- IServiceCollection
- name
- String
- configureOptions
- Action<OptionsBuilder<AdoNetGrainStorageOptions>>
Returns
Remarks
Instructions on configuring your database are available at http://aka.ms/orleans-sql-scripts.
Applies to
AddAdoNetGrainStorage(IServiceCollection, String, Action<AdoNetGrainStorageOptions>)
Configure silo to use AdoNet grain storage for grain storage. Instructions on configuring your database are available at 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
Parameters
- services
- IServiceCollection
- name
- String
- configureOptions
- Action<AdoNetGrainStorageOptions>
Returns
Remarks
Instructions on configuring your database are available at http://aka.ms/orleans-sql-scripts.