Bewerken

Delen via


AdoNetGrainStorageServiceCollectionExtensions.AddAdoNetGrainStorage Method

Definition

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

Source:
AdoNetGrainStorageServiceCollectionExtensions.cs
Source:
AdoNetGrainStorageServiceCollectionExtensions.cs
Source:
AdoNetGrainStorageServiceCollectionExtensions.cs
Source:
AdoNetGrainStorageServiceCollectionExtensions.cs

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

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

Source:
AdoNetGrainStorageServiceCollectionExtensions.cs
Source:
AdoNetGrainStorageServiceCollectionExtensions.cs
Source:
AdoNetGrainStorageServiceCollectionExtensions.cs
Source:
AdoNetGrainStorageServiceCollectionExtensions.cs

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

name
String

Returns

Remarks

Instructions on configuring your database are available at http://aka.ms/orleans-sql-scripts.

Applies to

AddAdoNetGrainStorage(IServiceCollection, String, Action<AdoNetGrainStorageOptions>)

Source:
AdoNetGrainStorageServiceCollectionExtensions.cs
Source:
AdoNetGrainStorageServiceCollectionExtensions.cs
Source:
AdoNetGrainStorageServiceCollectionExtensions.cs
Source:
AdoNetGrainStorageServiceCollectionExtensions.cs

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

name
String
configureOptions
Action<AdoNetGrainStorageOptions>

Returns

Remarks

Instructions on configuring your database are available at http://aka.ms/orleans-sql-scripts.

Applies to