KlusterKite
0.0.0
A framework to create scalable and redundant services based on awesome Akka.Net project.
|
The context factory that searches the end-type context factory by provider name More...
Public Member Functions | |
UniversalContextFactory (IComponentContext componentContext) | |
Initializes a new instance of the UniversalContextFactory class. More... | |
TContext | CreateContext< TContext > (string providerName, string connectionString, string databaseName=null) |
Creates a new context More... | |
The context factory that searches the end-type context factory by provider name
Definition at line 23 of file UniversalContextFactory.cs.
KlusterKite.Data.EF.UniversalContextFactory.UniversalContextFactory | ( | IComponentContext | componentContext | ) |
Initializes a new instance of the UniversalContextFactory class.
componentContext | The windsor container. |
Definition at line 36 of file UniversalContextFactory.cs.
TContext KlusterKite.Data.EF.UniversalContextFactory.CreateContext< TContext > | ( | string | providerName, |
string | connectionString, | ||
string | databaseName = null |
||
) |
Creates a new context
TContext | The type of context |
providerName | The database provider name |
connectionString | The database connection string |
databaseName | The database name |
TContext | : | DbContext |
Definition at line 49 of file UniversalContextFactory.cs.