上一页 1 ··· 7 8 9 10 11
摘要: [DbConfigurationType(typeof(MySqlEFConfiguration))]//添加特性 public partial class Model1 : DbContext { public Model1() : base("name=Model1") { } public DbSet text123 { get; se... 阅读全文
posted @ 2016-01-22 14:11 chenjingchun 阅读(532) 评论(0) 推荐(0) 编辑
摘要: using (TransactionScope trans = new TransactionScope()) { try { db.Entry(entity); db.Set().Add(entity); ... 阅读全文
posted @ 2016-01-19 11:58 chenjingchun 阅读(165) 评论(0) 推荐(0) 编辑
摘要: //自定义一个DatePicker.cshtml文件@helper Init(){ //日期字体颜色 }@helper Render(params string[] controlIds){ if (controlIds != null) { }... 阅读全文
posted @ 2016-01-14 12:02 chenjingchun 阅读(646) 评论(0) 推荐(0) 编辑
摘要: public class CommonAuthorize : AuthorizeAttribute { protected override bool AuthorizeCore(HttpContextBase httpContext) { ... 阅读全文
posted @ 2016-01-14 11:53 chenjingchun 阅读(664) 评论(0) 推荐(0) 编辑
摘要: 目前为止,我在百度上得到关于MapForce的信息少之又少,所以把自己的一些经验写下来,与大家分享。如果要生成xml的话,就可以直接创建xml架构当作数据的目标文件。以下是我做的AMS&ACI&ISF的xml模板AMSACIISF.XSD有需要EDI AMS、ACI、ISF的可以直接复制使用 ... 阅读全文
posted @ 2014-04-17 10:26 chenjingchun 阅读(707) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11