Exemplo n.º 1
0
 /// <summary>Implements <see cref="ISys_MenuService.Update"/></summary>
 public void Update(Sys_Menu obj)
 {
     if (obj == null) throw new ArgumentNullException("obj");
     _repository.Update(obj);
 }
Exemplo n.º 2
0
 /// <summary>Implements <see cref="ISys_MenuRepository.Update"/></summary>
 public void Update(Sys_Menu obj)
 {
     if (obj == null) throw new ArgumentNullException("obj");
     String stmtId = "Sys_Menu.Update";
     SqlMapper.Update(stmtId, obj);
 }
Exemplo n.º 3
0
 /// <summary>Implements <see cref="ISys_MenuService.Insert"/></summary>
 public void Insert(Sys_Menu obj)
 {
     if (obj == null) throw new ArgumentNullException("obj");
     _repository.Insert(obj);
 }
Exemplo n.º 4
0
 /// <summary>Implements <see cref="ISys_MenuRepository.Insert"/></summary>
 public void Insert(Sys_Menu obj)
 {
     if (obj == null) throw new ArgumentNullException("obj");
     String stmtId = "Sys_Menu.Insert";
     SqlMapper.Insert(stmtId, obj);
 }