I used to prefer u开发者_如何学编程sing SqlMetal to the OR Designer in Visual Studio when generating my Linq2SQL model.
So, my question is: Is there an equivalent to SqlMetal for generating EF4 models, i.e. a command-line tool for rebuilding my EF classes in one step?
EF has a tool called EDM Generator.
精彩评论