Skip to main content

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?

entity framework - listen edmx conversion? - stack overflow

learn, share, build

each month, on 50 million developers come stack overflow learn, share knowledge, , build careers.

join world’s largest developer community.

sign up

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?

share|improve question
    
maybe can in more straightforward way adding code generation item (t4 template) edmx , edit include custom annotations. – gert arnold jul 10 '12 @ 11:33
    
thanks. display annotations edmx in edm properties window, , use them in our t4 code generation. since want annotated values editable via properties window, i'm not sure how suggestion work us. – kim johnson jul 11 '12 @ 0:07
    
hi, wondering whether found solution this, have similar issue i'd able control ef designer. thanks – jradxl jun 18 '13 @ 9:44

your answer

 
discard

posting answer, agree privacy policy , terms of service.

browse other questions tagged or ask own question.


Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -