6 instantiations of SqlServerDatabaseResource
Aspire.Hosting.SqlServer (1)
SqlServerBuilderExtensions.cs (1)
79var sqlServerDatabase = new SqlServerDatabaseResource(name, databaseName, builder.Resource);
Aspire.Hosting.SqlServer.Tests (5)
SqlServerPublicApiTests.cs (5)
133var action = () => new SqlServerDatabaseResource(name, databaseName, parent); 148var action = () => new SqlServerDatabaseResource(name, databaseName, parent); 163var action = () => new SqlServerDatabaseResource(name, databaseName, parent); 178var action = () => new SqlServerDatabaseResource(name, databaseName, parent); 193var action = () => new SqlServerDatabaseResource(name, databaseName, parent);
6 references to SqlServerDatabaseResource
Aspire.Hosting.Azure.Sql (2)
AzureSqlDatabaseResource.cs (2)
40internal SqlServerDatabaseResource? InnerResource { get; private set; } 48internal void SetInnerResource(SqlServerDatabaseResource innerResource)
Aspire.Hosting.SqlServer (2)
SqlServerBuilderExtensions.cs (2)
70public static IResourceBuilder<SqlServerDatabaseResource> AddDatabase(this IResourceBuilder<SqlServerServerResource> builder, [ResourceName] string name, string? databaseName = null) 79var sqlServerDatabase = new SqlServerDatabaseResource(name, databaseName, builder.Resource);
Aspire.Hosting.SqlServer.Tests (2)
AddSqlServerTests.cs (2)
117var sqlResource = Assert.Single(appModel.Resources.OfType<SqlServerDatabaseResource>());