Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dissolve Relational.Design package #8680

Merged
merged 11 commits into from
Jun 2, 2017

Conversation

smitpatel
Copy link
Contributor

Resolves #7004

I am adding more commits to this branch as I cherry-pick them from previous branches (since rebase is having too many merge conflicts)

@roji @ErikEJ - This will be final PR which removes Relational.Design package altogether. I will write detailed note on the issue on what changed and what is provider supposed to do when this goes in. Feel free to give any feedback on PR if you want.

Copy link
Contributor

@ajcvickers ajcvickers left a comment

Choose a reason for hiding this comment

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

Pre-approving this since it is just mechanical work getting everything rebased. Probably good for @bricelam to give a quick scan of this tomorrow.

Copy link
Contributor

@bricelam bricelam left a comment

Choose a reason for hiding this comment

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

Rubber-stamping. I've reviewed all these individually, right? API Review will cover the "big picture".

.AddSingleton<CSharpDbContextGenerator>()
.AddSingleton<CSharpEntityTypeGenerator>()
.AddSingleton<ScaffoldingTypeMapper>()
.AddSingleton<ScaffoldingCodeGenerator, CSharpScaffoldingGenerator>()
Copy link
Contributor

Choose a reason for hiding this comment

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

File an issue to add interfaces and dependency objects to these where applicable.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

smitpatel added 11 commits June 2, 2017 09:50
Remove CustomConfiguration
Rewrite code writers to work directly from Model
Remove Sqlite.Design.Tests
Introduce IScaffoldingHelper interface which provider overwrites to generate provider specific code in scaffolding pipeline
Remove special processing around type mapping in SqlServerScaffoldingModelFactory
Change ColumnModel.StoreType to have fully qualified type name for ScaffoldingTypeMapper
Remove SqlServer.Design.Tests

Introduce IAnnotationRenderer interface for provider writers to provide us how to interpret annotations
Flow annotations from DatabaseModel to IModel so that provider can generate provider specific fluent API
Remove special processing inside of SqlServerScaffoldingFactory. All processing should happen while generating database
@smitpatel smitpatel force-pushed the feature/removerelationaldesign branch from 7449cd6 to 778a843 Compare June 2, 2017 16:50
@smitpatel smitpatel merged commit 778a843 into rel/2.0.0-preview2 Jun 2, 2017
@smitpatel smitpatel deleted the feature/removerelationaldesign branch June 2, 2017 17:05
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.

4 participants