Freigeben über


SqlServerBuilderExtensions Class

Definition

Provides extension methods for adding SQL Server resources to the application model.

public static class SqlServerBuilderExtensions
type SqlServerBuilderExtensions = class
Public Module SqlServerBuilderExtensions
Inheritance
SqlServerBuilderExtensions

Methods

AddDatabase(IResourceBuilder<SqlServerServerResource>, String, String)

Adds a SQL Server database to the application model. This is a child resource of a SqlServerServerResource.

AddSqlServer(IDistributedApplicationBuilder, String, IResourceBuilder<ParameterResource>, Nullable<Int32>)

Adds a SQL Server resource to the application model. A container is used for local development.

WithDataBindMount(IResourceBuilder<SqlServerServerResource>, String, Boolean)

Adds a bind mount for the data folder to a SQL Server resource.

WithDataVolume(IResourceBuilder<SqlServerServerResource>, String, Boolean)

Adds a named volume for the data folder to a SQL Server resource.

Applies to