Conventions Roadmap for EF7

entity-framework-core

Question

I'd like to get a clearer picture of the roadmap for Code First conventions for EF7. Presently there are three implementations of IEntityTypeConvention:

  1. KeyConvention
  2. PropertiesConvention
  3. RelationshipDiscoveryConvention

Are there plans for achieving parity with EF6 CF conventions? For example, I don't see something like the PluralizingTableNameC convention. Also, what are plans for the API for customizing conventions?

1
2
12/27/2014 10:15:57 AM

Popular Answer

As Anthony mentioned in his comment, this is currently on our backlog to be implemented - https://github.com/aspnet/EntityFramework/issues/214.

The API for custom conventions will likely look quite different from EF6 because of the new metadata API and our change to make ModelBuilder incrementally build a model rather than storing a bunch of configuration and then building the model when needed.

3
1/22/2015 7:32:06 PM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow