Created
July 11, 2020 14:38
-
-
Save zleao/f5296c3b7b030b21e218e283fa1e2c82 to your computer and use it in GitHub Desktop.
Configuration class used in the portable mongodb solution
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public enum DbLocation | |
{ | |
Unknown, | |
Local, | |
Azure | |
} | |
public interface IMongoDbConfiguration | |
{ | |
string DatabaseName { get; } | |
DbLocation DatabaseLocation { get; } | |
string ConnectionString { get; } | |
// -- Azure Cosmos DB related configurations -- | |
int AzureDatabaseInitialThroughput { get; } | |
int AzureDatabaseManagementPort { get; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment