EFMigrationResourceBuilderExtensions
Classstaticnet10.0
Extension methods for configuring EF Core migration resources.
namespace Aspire.Hosting;
public static class EFMigrationResourceBuilderExtensions{ // ...}7 members
Methods7
Section titled MethodsPublishAsMigrationBundle(IResourceBuilder<EFMigrationResource>, string?, bool, bool, string?)extensionats exportIResourceBuilder<EFMigrationResource> Configures the EF migration resource to generate a migration bundle during publishing.
IResourceBuilder<EFMigrationResource> Configures the EF migration resource to generate a migration script during publishing.
IResourceBuilder<EFMigrationResource> Configures the EF migration resource to run database update when the AppHost starts.
IResourceBuilder<EFMigrationResource> Configures the namespace for new migrations created with the Add Migration command.
IResourceBuilder<EFMigrationResource> Configures the output directory for new migrations created with the Add Migration command.
IResourceBuilder<EFMigrationResource> Configures a separate project containing the migrations using a project path.
IResourceBuilder<EFMigrationResource> Configures a separate project containing the migrations using a project metadata type.