34 references to AddSqlServer
Aspire.Hosting.Azure.Sql (1)
AzureSqlExtensions.cs (1)
168
var sqlContainer = builder.ApplicationBuilder.
AddSqlServer
(azureResource.Name);
Aspire.Hosting.Azure.Tests (3)
AzureBicepResourceTests.cs (3)
68
{ builder => builder.
AddSqlServer
(resourceName).AsAzureSqlDatabase() },
1407
var sql = builder.
AddSqlServer
("sql").AsAzureSqlDatabase();
1503
var sql = builder.
AddSqlServer
("sql").AsAzureSqlDatabase();
Aspire.Hosting.SqlServer.Tests (26)
AddSqlServerTests.cs (13)
20
var sql = appBuilder.
AddSqlServer
("sql");
30
var sql = appBuilder.
AddSqlServer
("sql");
40
appBuilder.
AddSqlServer
("sqlserver");
86
.
AddSqlServer
("sqlserver", pass)
107
.
AddSqlServer
("sqlserver", pass)
127
var sqlServer = builder.
AddSqlServer
("sqlserver");
170
var sqlServer = builder.
AddSqlServer
("sqlserver", pass);
200
var db = builder.
AddSqlServer
("sqlserver1");
211
builder.
AddSqlServer
("sqlserver1")
214
var db = builder.
AddSqlServer
("sqlserver2");
223
var sqlserver1 = builder.
AddSqlServer
("sqlserver1");
240
var db1 = builder.
AddSqlServer
("sqlserver1")
243
var db2 = builder.
AddSqlServer
("sqlserver2")
SqlServerFunctionalTests.cs (9)
34
var resource = builder.
AddSqlServer
("resource")
37
var dependentResource = builder.
AddSqlServer
("dependentresource")
72
var sqlserver = builder.
AddSqlServer
("sqlserver");
139
var sqlserver1 = builder1.
AddSqlServer
("sqlserver");
248
var sqlserver2 = builder2.
AddSqlServer
("sqlserver2", passwordParameter2);
345
var sqlserver = builder.
AddSqlServer
("sqlserver");
411
var sqlserver = builder.
AddSqlServer
("sqlserver");
472
var sqlserver = builder.
AddSqlServer
("db1", passwordParameter);
537
var sqlserver = builder.
AddSqlServer
("sqlserver");
SqlServerPublicApiTests.cs (4)
18
var action = () => builder.
AddSqlServer
(name);
32
var action = () => builder.
AddSqlServer
(name);
58
.
AddSqlServer
("sqlserver");
98
.
AddSqlServer
("SqlServer");
DatabaseMigration.AppHost (1)
Program.cs (1)
6
var db1 = builder.
AddSqlServer
("sql1").AddDatabase("db1");
ParameterEndToEnd.AppHost (1)
Program.cs (1)
18
var db = builder.
AddSqlServer
("sql")
Publishers.AppHost (1)
Program.cs (1)
37
var sqlServer = builder.
AddSqlServer
("sqlserver")
SqlServerEndToEnd.AppHost (1)
Program.cs (1)
11
var sql2 = builder.
AddSqlServer
("sql2")