18 references to AddDatabase
Aspire.Hosting.MySql.Tests (17)
AddMySqlTests.cs (10)
137.AddDatabase("db"); 159var db = mysql.AddDatabase("db"); 304db.AddDatabase("db"); 306Assert.Throws<DistributedApplicationException>(() => db.AddDatabase("db")); 315.AddDatabase("db"); 318Assert.Throws<DistributedApplicationException>(() => db.AddDatabase("db")); 328var db1 = mysql1.AddDatabase("db1", "customers1"); 329var db2 = mysql1.AddDatabase("db2", "customers2"); 347.AddDatabase("db1", "imports"); 350.AddDatabase("db2", "imports");
MySqlFunctionalTests.cs (5)
81var db = mysql.AddDatabase(mySqlDbName); 137var db1 = mysql1.AddDatabase(mySqlDbName); 213var db2 = mysql2.AddDatabase(mySqlDbName); 328var db = mysql.AddDatabase(mySqlDbName); 400var db = mysql.AddDatabase(mySqlDbName);
MySqlPublicApiTests.cs (2)
103var action = () => builder.AddDatabase(name); 116var action = () => mySql.AddDatabase(name);
MySqlDb.AppHost (1)
Program.cs (1)
11.AddDatabase(catalogDbName);