Skip to content

Add IDesignTimeServices - #6694

Merged
bricelam merged 1 commit into
dotnet:devfrom
bricelam:design
Oct 6, 2016
Merged

bricelam merged 1 commit into
dotnet:devfrom
bricelam:design

Conversation

@bricelam

@bricelam bricelam commented Oct 6, 2016

Copy link
Copy Markdown
Contributor

IDesignTimeServices can be implemented in the startup assembly to override the default design-time services like MigrationsCodeGenerator or EntityTypeWriter.

Also stops looking for ConfigureServices on App and Program (use IDbContextFactory instead).

Providers beware: This has a minor breaking changes in Microsoft.EntityFrameworkCore.Relational.Design.Specification.Tests

Resolves #5617, fixes #5677

@ajcvickers ajcvickers left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

IDesignTimeServices can be implemented in the startup assembly to override the default design-time services like MigrationsCodeGenerator or EntityTypeWriter.

Also stops looking for ConfigureServices on App and Program (use IDbContextFactory instead).

Providers beware: This has a minor breaking changes in Microsoft.EntityFrameworkCore.Relational.Design.Specification.Tests

Resolves #5617, fixes #5677
@bricelam
bricelam merged commit 50b282c into dotnet:dev Oct 6, 2016
@bricelam
bricelam deleted the design branch October 6, 2016 22:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants