entity framework - EDMX -> Code First generator -


is there existing way generate ef code first existing edmx>

i know there's reverse poco generators go connection string, wee have legacy solution has massive schema inordinate number of customisations made (renames, relationships no in underlying schema, etc) business code heavily relies on. we'd generate code first classes without breaking part of system code code first migrations.

there's no automated way translate edmx mapping code-first mapping (fluent or attribute-based). best can copy generated entity classes under .edmx , recreate mappings in edmx using fluent api.

note there things definingquery don't exist in code-first.


Comments

Popular posts from this blog

.net - Generate assembly with Roslyn -

ZeroMQ on Windows, with Qt Creator -

batch file - filebot superstrict script: need tiny video sample or other solution -