DesignTimeServiceCollectionExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework