1 write to DatabaseName
Aspire.Hosting.MongoDB (1)
MongoDBDatabaseResource.cs (1)
23DatabaseName = databaseName;
5 references to DatabaseName
Aspire.Hosting.MongoDB (1)
MongoDBDatabaseResource.cs (1)
29public ReferenceExpression ConnectionStringExpression => Parent.BuildConnectionString(DatabaseName);
Aspire.Hosting.MongoDB.Tests (4)
AddMongoDBTests.cs (4)
262Assert.Equal("customers1", db1.Resource.DatabaseName); 263Assert.Equal("customers2", db2.Resource.DatabaseName); 280Assert.Equal("imports", db1.Resource.DatabaseName); 281Assert.Equal("imports", db2.Resource.DatabaseName);