コード例 #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));
     }
 }
コード例 #2
0
 public long Add(List <GroupInfo> entitys, bool ignorePk = true)
 {
     return(DataAccessProxy.Add(entitys));
 }