18 references to AddDatabase
Aspire.Hosting.MySql.Tests (17)
AddMySqlTests.cs (10)
136.AddDatabase("db"); 158var db = mysql.AddDatabase("db"); 303db.AddDatabase("db"); 305Assert.Throws<DistributedApplicationException>(() => db.AddDatabase("db")); 314.AddDatabase("db"); 317Assert.Throws<DistributedApplicationException>(() => db.AddDatabase("db")); 327var db1 = mysql1.AddDatabase("db1", "customers1"); 328var db2 = mysql1.AddDatabase("db2", "customers2"); 346.AddDatabase("db1", "imports"); 349.AddDatabase("db2", "imports");
MySqlFunctionalTests.cs (5)
81var db = mysql.AddDatabase(mySqlDbName); 137var db1 = mysql1.AddDatabase(mySqlDbName); 212var db2 = mysql2.AddDatabase(mySqlDbName); 327var db = mysql.AddDatabase(mySqlDbName); 399var 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);