Skip to content

ResourceGraphBuilder prioritises DbSet name over type name #602

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

Closed
maurei opened this issue Oct 30, 2019 · 0 comments
Closed

ResourceGraphBuilder prioritises DbSet name over type name #602

maurei opened this issue Oct 30, 2019 · 0 comments

Comments

@maurei
Copy link
Member

maurei commented Oct 30, 2019

In the following example

        public class TestContext : DbContext
        {
            public DbSet<MyResource> SomeDifferentDbSetName { get; set; }
        }

MyResource should be exposed as my-resources, not as some-different-db-set-names. This is more consistent because central to JADNC pipelines are models, not DbSets.

@maurei maurei mentioned this issue Oct 30, 2019
2 tasks
@maurei maurei closed this as completed Oct 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant