18 references to AddDatabase
Aspire.Hosting.MySql.Tests (17)
AddMySqlTests.cs (10)
137
.
AddDatabase
("db");
159
var db = mysql.
AddDatabase
("db");
304
db.
AddDatabase
("db");
306
Assert.Throws<DistributedApplicationException>(() => db.
AddDatabase
("db"));
315
.
AddDatabase
("db");
318
Assert.Throws<DistributedApplicationException>(() => db.
AddDatabase
("db"));
328
var db1 = mysql1.
AddDatabase
("db1", "customers1");
329
var db2 = mysql1.
AddDatabase
("db2", "customers2");
347
.
AddDatabase
("db1", "imports");
350
.
AddDatabase
("db2", "imports");
MySqlFunctionalTests.cs (5)
81
var db = mysql.
AddDatabase
(mySqlDbName);
137
var db1 = mysql1.
AddDatabase
(mySqlDbName);
213
var db2 = mysql2.
AddDatabase
(mySqlDbName);
328
var db = mysql.
AddDatabase
(mySqlDbName);
400
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);