ActorApiType
PackageFCQRS
C#-friendly Actor API
Specification
Kind
Type
Members
2
Examples
0
CreateSignature
ActorApi.Create(configuration, loggerFactory, sqliteConnectionString, clusterName)
CreateSignature
ActorApi.Create(configuration, loggerFactory, connectionString, clusterName, databaseType)
Summary
| Name | Signature | Synopsis |
|---|---|---|
| Create | ActorApi.Create(configuration, loggerFactory, sqliteConnectionString, clusterName) | Create the actor system with SQLite connection |
| Create | ActorApi.Create(configuration, loggerFactory, connectionString, clusterName, databaseType) | Create an actor system using the selected SQL journal provider. |
Create the actor system with SQLite connection
Parameters
| Name | Type | Description |
|---|---|---|
| configuration | IConfiguration | |
| loggerFactory | ILoggerFactory | |
| sqliteConnectionString | string | |
| clusterName | string |
Returns
IActor
ActorApi.Create(configuration, loggerFactory, connectionString, clusterName, databaseType)
Member
Create an actor system using the selected SQL journal provider.
Install that provider's ADO.NET driver in the application (for example Npgsql for PostgreSQL).
Parameters
| Name | Type | Description |
|---|---|---|
| configuration | IConfiguration | |
| loggerFactory | ILoggerFactory | |
| connectionString | string | |
| clusterName | string | |
| databaseType | DBType |
Returns
IActor