Watch Aspire live streamsDocsTry Aspire

EFMigrationResource

Classnet10.0
📦 Aspire.Hosting.EntityFrameworkCore v17.0.0-preview.1.26567.5
Represents an EF Core migration resource associated with a project.
namespace Aspire.Hosting.EntityFrameworkCore;
public class EFMigrationResource
: Aspire.Hosting.ApplicationModel.ContainerResource
{
// ...
}
ContainerResource
The resource inherits from ApplicationModel.ContainerResource so it can be published as a container image that runs the migration bundle at deploy time when EFMigrationResourceBuilderExtensions.PublishAsMigrationBundle is called with publishContainer: true.
View all constructors
View all properties