27 references to AddSqlServer
Aspire.Hosting.Azure.Sql (1)
AzureSqlExtensions.cs (1)
164
var sqlContainer = builder.ApplicationBuilder.
AddSqlServer
(azureResource.Name);
Aspire.Hosting.Azure.Tests (3)
AzureBicepResourceTests.cs (3)
67
{ builder => builder.
AddSqlServer
(resourceName).AsAzureSqlDatabase() },
1304
var sql = builder.
AddSqlServer
("sql").AsAzureSqlDatabase();
1398
var sql = builder.
AddSqlServer
("sql").AsAzureSqlDatabase();
Aspire.Hosting.SqlServer.Tests (20)
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 (5)
34
var resource = builder.
AddSqlServer
("resource")
37
var dependentResource = builder.
AddSqlServer
("dependentresource")
72
var sqlserver = builder.
AddSqlServer
("sqlserver");
137
var sqlserver1 = builder1.
AddSqlServer
("sqlserver");
248
var sqlserver2 = builder2.
AddSqlServer
("sqlserver2", passwordParameter2);
SqlServerPublicApiTests.cs (2)
18
var action = () => builder.
AddSqlServer
(name);
101
var SqlServer = builderResource.
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")
SqlServerEndToEnd.AppHost (1)
Program.cs (1)
11
var sql2 = builder.
AddSqlServer
("sql2")