ef code first transform,add ef power tools add-in,add tangible t4 editor for enhancement.

use ef power tools, as to .edmx file,right click at view, choose generate database from model, then copy the generated sql text, run the text in database, use ef power tools add in to generate mappings for code first usage.

posted @ 2015-11-28 15:24  calochCN  阅读(213)  评论(0编辑  收藏  举报