entity framework - Listen for EDMX conversion? -
when re-targeting project .net 4.0 .net 4.5 in vs2012 edmx in project automatically converted ef 5, i.e., namespaces updated match target framework.
is there way, maybe via extension edm tools, "listen" conversion? use custom annotations in edmx, , when upgrade performed need convert/update our annotations.
we implement imodeltransformextension perform custom logic when model loaded , saved, , in theory can use onaftermodelloaded conversion of annotations too, since conversion needed 1 time only, , when .net framework retargeted, great if there's option.
any ideas?
when re-targeting project .net 4.0 .net 4.5 in vs2012 edmx in project automatically converted ef 5, i.e., namespaces updated match target framework. is there way, maybe via extension edm tools, "listen" conversion? use custom annotations in edmx, , when upgrade performed need convert/update our annotations. we implement imodeltransformextension perform custom logic when model loaded , saved, , in theory can use onaftermodelloaded conversion of annotations too, since conversion needed 1 time only, , when .net framework retargeted, great if there's option. any ideas? | |||||||||||||
|