18 references to AddDatabase
Aspire.Hosting.MySql.Tests (17)
AddMySqlTests.cs (10)
136
.
AddDatabase
("db");
158
var db = mysql.
AddDatabase
("db");
303
db.
AddDatabase
("db");
305
Assert.Throws<DistributedApplicationException>(() => db.
AddDatabase
("db"));
314
.
AddDatabase
("db");
317
Assert.Throws<DistributedApplicationException>(() => db.
AddDatabase
("db"));
327
var db1 = mysql1.
AddDatabase
("db1", "customers1");
328
var db2 = mysql1.
AddDatabase
("db2", "customers2");
346
.
AddDatabase
("db1", "imports");
349
.
AddDatabase
("db2", "imports");
MySqlFunctionalTests.cs (5)
81
var db = mysql.
AddDatabase
(mySqlDbName);
137
var db1 = mysql1.
AddDatabase
(mySqlDbName);
212
var db2 = mysql2.
AddDatabase
(mySqlDbName);
327
var db = mysql.
AddDatabase
(mySqlDbName);
399
var db = mysql.
AddDatabase
(mySqlDbName);
MySqlPublicApiTests.cs (2)
103
var action = () => builder.
AddDatabase
(name);
116
var action = () => mySql.
AddDatabase
(name);
MySqlDb.AppHost (1)
Program.cs (1)
11
.
AddDatabase
(catalogDbName);