AdoNetGrainStorageServiceCollectionExtensions.AddAdoNetGrainStorageAsDefault 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.
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 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
Parameters
- services
- IServiceCollection
- configureOptions
- Action<OptionsBuilder<AdoNetGrainStorageOptions>>
Returns
Remarks
Instructions on configuring your database are available at http://aka.ms/orleans-sql-scripts.