10 2015 档案

摘要://修改推荐的信息 var productRe = db.Shop_ProductRecommends.Single(item => item.Id == model.Id); productRe.seat ... 阅读全文

posted @ 2015-10-10 19:11 myis程序员编程本领强 阅读(123) 评论(0) 推荐(0)

摘要:1.添加单个模型(CreatRule()是构造模型)(Shop_ActivityRuleProduct是类)var rule = CreatRule(model); var ruled = db.Set().Add(rule);2.添加多个模型(CreateLa... 阅读全文

posted @ 2015-10-10 19:09 myis程序员编程本领强 阅读(99) 评论(0) 推荐(0)

摘要:1.db.Database.BeginTransaction();2.public Result AddActivityProduct(ActivityRuleProductViewModel model) { Result result = new Result... 阅读全文

posted @ 2015-10-10 19:05 myis程序员编程本领强 阅读(330) 评论(0) 推荐(0)

摘要:function sendPostRequest(targetUrl, parameters, successCallback, errorCallback) { $.ajax({ type: "POST", url: targetUrl, data:... 阅读全文

posted @ 2015-10-10 18:52 myis程序员编程本领强 阅读(243) 评论(0) 推荐(0)

摘要:/// /// 返回处理过的时间的Json字符串/// /// 数据/// JSON数据public ContentResult JsonDate(object date){ JsonSerializerSettings MyJsonSerializerSettings = new JsonS... 阅读全文

posted @ 2015-10-10 18:48 myis程序员编程本领强 阅读(136) 评论(0) 推荐(0)

导航