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

Cormo.Data.EntityFramework: Support for custom Mappers/Conventions #11

Open
hendryluk opened this issue Feb 9, 2015 · 0 comments
Open

Comments

@hendryluk
Copy link
Owner

Currently Cormo.Data.EntityFramework will automatically setup your entities using attribute-based mapping, just exactly like the JPA spec in both spring and java-ee.

However EF also supports custom fluent-api and convention-based mapping. Even though fluent-api and conventions are generally not in the cormo/spring/java-ee style (which are more in favour of explicit attribute-based), I think it would still be useful for Cormo to still supports what comes out of EF, especially since many projects have historically been using those approaches more than attribute-based.
Cormo should automatically locates any mapping/convention classes within the application and registers them to EF.

@hendryluk hendryluk changed the title Cormo.Data.EntityFramework: Adds Mappers/Conventions Cormo.Data.EntityFramework: Support for custom Mappers/Conventions Feb 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant