Skip to content

Conversation

pver
Copy link
Contributor

@pver pver commented Jun 1, 2015

Fixes #30 : use storage types instead of entity types

For the example project, this will generate the exact same database file from before this fix.
If you remove this line from the example project (in the FootballDbContext class) :

modelBuilder.Conventions.Remove<PluralizingTableNameConvention>();

it will now also succesfully generate pluralized table names in the database: Stadions and Teams (except for Player, because that entity has a fixed table name link to "TeamPlayer": this table is still named TeamPlayer)

@pver pver changed the title Fixes plurarization issue Fixes pluralization issue Jun 2, 2015
msallin added a commit that referenced this pull request Jun 2, 2015
Fixes pluralization issue
@msallin msallin merged commit cc0699d into msallin:master Jun 2, 2015
@msallin
Copy link
Owner

msallin commented Jun 2, 2015

Thank you!

@pver
Copy link
Contributor Author

pver commented Jun 2, 2015

You're welcome! Nice project by the way :-)

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.

PluralizingTableNameConvention

2 participants