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