DesignTimeServiceCollectionExtensions Class

Definition

Extension methods for adding Entity Framework Core design-time services to an IServiceCollection.

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

Remarks

See EF Core design-time services for more information and examples.

Methods

AddDbContextDesignTimeServices(IServiceCollection, DbContext)

Adds services from the DbContext which are used at design time.

AddEntityFrameworkDesignTimeServices(IServiceCollection, IOperationReporter, Func<IServiceProvider>)

Adds the Entity Framework Core design-time services.

Applies to