Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithMigrationNamespace

Method
📦 Aspire.Hosting.EntityFrameworkCore v17.0.0-preview.1.26565.2
func (EFMigrationResource) WithMigrationNamespace(namespace string) EFMigrationResource

Signature

methodWithMigrationNamespacebuilder
Configures the namespace for new migrations created with the Add Migration command.
WithMigrationNamespace(namespace string) EFMigrationResource
namespacestringThe namespace for generated migrations.
EFMigrationResource

The resource builder for chaining.

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

Applies to

This method applies to the following types: