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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework