c# - EF6 Table Splitting with foreign keys (Database first) -


i'm investigating possibility use table splitting ef stop pulling many columns nothing. now, i'm able create new entity, cut/paste fields sub-entity , map without problems.

however, if 1 of fields fk in master table, gives me following error "running transformation: there no property name 'iddocumentimportsource' defined in type referred role 'documentimports'."

i understand both tables have navigationproperties cannot resolved anymore association fk because field has been moved child table.

here's question; there way automaticaly move association fk child table? make work manually deleting association, both navigation properties, creation association fk of child. involves quite lot of work on part if have manually every association fk got...!

documentimports parenttable splitted new child table documentimports_statusdetail , documentimportsources table being referenced fk.

thanks!

enter image description here


Comments