-
Notifications
You must be signed in to change notification settings - Fork 50
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
Support for pluralized table names #9
Labels
Comments
I prefer fluent style, because it doesn't require you to have control over the source. In some projects, models are out of your control. |
ALmost finished a PR for this. Will submit it when I'm back again haha. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Could we support pluralized table names for all the generic methods like
Insert<T>
? I see it just defaults to a table with a name the same as type T. I prefer usingUsers
as my table names instead ofUser
.We could use an attribute on the
T
classes, likeTableName("Users")
that is checked before the default is used. What do you think? Or go down a fluent-style declaration in Startup.cs with some extension methods. Or support both even.The text was updated successfully, but these errors were encountered: