Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

EFMigrationResource.WithMigrationOutputDirectory

Method
📦 Aspire.Hosting.EntityFrameworkCore v17.0.0-preview.1.26565.2
type EFMigrationResource interface {
// ... omitted for brevity
WithMigrationOutputDirectory(outputDirectory string) EFMigrationResource
}

Signature

methodWithMigrationOutputDirectorybuilder
Configures the output directory for new migrations created with the Add Migration command.
WithMigrationOutputDirectory(outputDirectory string) EFMigrationResource
outputDirectorystringThe output directory path relative to the project root.
EFMigrationResource

The resource builder for chaining.

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: