entity framework 7 mapping attributes

entity-framework-core

Question

Are there already mapping-annotations (attributes) for mapping foreign keys?

If no, are such annotations planned?

I've seen, that there is still a fluent-api for mapping foreign keys, but I have not found mapping-attributes for this Task.

Popular Answer

This is not implemented yet. You can track the work here https://github.com/aspnet/EntityFramework/issues/107



Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Is this KB legal? Yes, learn why
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Is this KB legal? Yes, learn why