示例#1
0
 public UserProfileRepository(string connectionString)
 {
     _cosmosDbClient = DocumentDbAccount.Parse(connectionString);
 }
示例#2
0
 public UserProfileRepository()
 {
     _cosmosDbClient = DocumentDbAccount.Parse(Environment.GetEnvironmentVariable("CosmosDB", EnvironmentVariableTarget.Process));
 }