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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework