摘要:
1.first of all之前在“使用T4模板生成代码 – 初探” 文章简单的使用了T4模板的生成功能,但对于一个模板生成多个实例文件,如何实现这个方式呢?无意发现一个解决方案 “MultipleOutputHelper.ttinclude” ,它让基于T4模板批量生成文件实例变得简单起来了。什么... 阅读全文
摘要:
1.use nuget to install unity.webapi 2.add configurations in application_start folder using Microsoft.Practices.Unity; using PatV2Tool.Bussiness.BLL; u 阅读全文
摘要:
1.add content negotiatorusing System;using System.Collections.Generic;using System.Linq;using System.Net.Http;using System.Net.Http.Formatting;using S... 阅读全文
摘要:
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 datab... 阅读全文