adding
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
namespace LCU.API.Internal.Document.PerformanceTest.DB;
|
||||
|
||||
public static class DatabaseFactory
|
||||
{
|
||||
public static IDatabase Database => Environment.Type switch
|
||||
{
|
||||
EnvironmentType.Local => new LocalMongoDatabase(),
|
||||
EnvironmentType.Azure => new AzureCosmosDb(),
|
||||
_ => throw new NotImplementedException()
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user