摘要: 一:频繁出现的代码可以使用委托类型的 AOP类似以下代码在控制器中(在Domain中也有若干)重复出现:try { if (!string.IsNullOrEmpty(categoryId)) { var model = new ExerciseCategory(); model.ParentId = parentId; this._exerciseCategoryDal.Update(model); } } catch { return 0; }r... 阅读全文
posted @ 2014-02-19 13:22 陆敏技 阅读(1001) 评论(0) 推荐(0) 编辑
Web Counter
Coupon for Contacts