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

[reveng] Move GetModel method into base implementation #3439

Merged
merged 1 commit into from
Oct 15, 2015

Conversation

natemcmaster
Copy link
Contributor

So SQL Server and SQLite don't both implement the same IMetadataReader => IModel call

/cc @divega @lajones

@@ -19,7 +19,7 @@ public class SqliteDesignTimeServices
public virtual void ConfigureDesignTimeServices([NotNull] IServiceCollection serviceCollection)
{
serviceCollection
.AddSingleton<MetadataModelProvider, SqliteMetadataModelProvider>()
.AddSingleton<MetadataModelProvider, RelationalMetadataModelProvider>()
Copy link
Contributor

Choose a reason for hiding this comment

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

I vaguely remember a discussion on whether provider should still need to derive and have their own implementation (or was it their own interfaces?). Things have been in flux and I can't remember if this ended up being a concern or not. @ajcvickers would know.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Should we abstract an interface for MetadataModelProvider then?

@divega
Copy link
Contributor

divega commented Oct 15, 2015

:shipit: LGTM but it would be good if @lajones also reviews it.

@lajones
Copy link
Contributor

lajones commented Oct 15, 2015

LGTM too. :shipit:

…Qlite don't both implement the same IMetadataReader => IModel call
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants