/// <summary>Implements <see cref="ISys_MenuService.Insert"/></summary>
 public void Insert(Sys_Menu obj)
 {
     if (obj == null)
     {
         throw new ArgumentNullException("obj");
     }
     _repository.Insert(obj);
 }
示例#2
0
 /// <summary>
 /// 写入实体数据
 /// </summary>
 /// <param name="entity">实体类</param>
 /// <returns></returns>
 public long Insert(sys_menu entity)
 {
     return(_Sys_MenuRepositoryS.Insert(entity));
 }