CQRS.NET  4.0
A lightweight enterprise Function as a Service (FaaS) framework to write function based serverless and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.
Cqrs.Ninject.MongoDB.TestMongoDbDataStoreConnectionStringFactory Class Reference

A IMongoDbDataStoreConnectionStringFactory and IMongoDbEventStoreConnectionStringFactory that enables you to set a database name with DatabaseName. This means you can randomly generate your own database name per test. Both IEventStore<TAuthenticationToken> and IDataStore<TData> use the same connection string and database name. More...

+ Inheritance diagram for Cqrs.Ninject.MongoDB.TestMongoDbDataStoreConnectionStringFactory:

Public Member Functions

string GetDataStoreConnectionString ()
 Gets the current connection string. More...
 
string GetDataStoreDatabaseName ()
 Gets the value of DatabaseName. More...
 
string GetEventStoreConnectionString ()
 Gets the current connection string. More...
 
string GetEventStoreDatabaseName ()
 Gets the value of DatabaseName. More...
 

Properties

static string DatabaseName [get, set]
 The name of the database currently being used. More...
 

Detailed Description

A IMongoDbDataStoreConnectionStringFactory and IMongoDbEventStoreConnectionStringFactory that enables you to set a database name with DatabaseName. This means you can randomly generate your own database name per test. Both IEventStore<TAuthenticationToken> and IDataStore<TData> use the same connection string and database name.