Ejemplo n.º 1
0
 public long Add(GroupInfo entity, bool ignorePk = true)
 {
     if (ignorePk)
     {
         return(DataAccessProxy.Add(entity, x => new { x.Id }));
     }
     else
     {
         return(DataAccessProxy.Add(entity));
     }
 }
Ejemplo n.º 2
0
 public long Add(List <GroupInfo> entitys, bool ignorePk = true)
 {
     return(DataAccessProxy.Add(entitys));
 }