Example #1
0
 /// <summary>
 /// 1.0 新增 方法
 /// </summary>
 /// <param name="model">新增实体</param>
 /// <returns></returns>
 public int Add(T model)
 {
     db.Set <T>().Add(model);
     return(0);
 }