27 references to AddSqlServer
Aspire.Hosting.Azure.Sql (1)
AzureSqlExtensions.cs (1)
164var sqlContainer = builder.ApplicationBuilder.AddSqlServer(azureResource.Name);
Aspire.Hosting.Azure.Tests (3)
AzureBicepResourceTests.cs (3)
67{ builder => builder.AddSqlServer(resourceName).AsAzureSqlDatabase() }, 1304var sql = builder.AddSqlServer("sql").AsAzureSqlDatabase(); 1398var sql = builder.AddSqlServer("sql").AsAzureSqlDatabase();
Aspire.Hosting.SqlServer.Tests (20)
AddSqlServerTests.cs (13)
20var sql = appBuilder.AddSqlServer("sql"); 30var sql = appBuilder.AddSqlServer("sql"); 40appBuilder.AddSqlServer("sqlserver"); 86.AddSqlServer("sqlserver", pass) 107.AddSqlServer("sqlserver", pass) 127var sqlServer = builder.AddSqlServer("sqlserver"); 170var sqlServer = builder.AddSqlServer("sqlserver", pass); 200var db = builder.AddSqlServer("sqlserver1"); 211builder.AddSqlServer("sqlserver1") 214var db = builder.AddSqlServer("sqlserver2"); 223var sqlserver1 = builder.AddSqlServer("sqlserver1"); 240var db1 = builder.AddSqlServer("sqlserver1") 243var db2 = builder.AddSqlServer("sqlserver2")
SqlServerFunctionalTests.cs (5)
34var resource = builder.AddSqlServer("resource") 37var dependentResource = builder.AddSqlServer("dependentresource") 72var sqlserver = builder.AddSqlServer("sqlserver"); 137var sqlserver1 = builder1.AddSqlServer("sqlserver"); 248var sqlserver2 = builder2.AddSqlServer("sqlserver2", passwordParameter2);
SqlServerPublicApiTests.cs (2)
18var action = () => builder.AddSqlServer(name); 101var SqlServer = builderResource.AddSqlServer("SqlServer");
DatabaseMigration.AppHost (1)
Program.cs (1)
6var db1 = builder.AddSqlServer("sql1").AddDatabase("db1");
ParameterEndToEnd.AppHost (1)
Program.cs (1)
18var db = builder.AddSqlServer("sql")
SqlServerEndToEnd.AppHost (1)
Program.cs (1)
11var sql2 = builder.AddSqlServer("sql2")