コード例 #1
0
 public override int UpdateLocation(Tcc.Location.BusinessEntities.Location entity)
 {
     return(TccContext.Tcc.DB.Update <Tcc.Location.BusinessEntities.Location>("Location", entity)
            .AutoMap(x => x.Id)
            .Execute());
 }
コード例 #2
0
 public virtual int UpdateLocation(Tcc.Location.BusinessEntities.Location entity)
 {
     throw new NotImplementedException();
 }
コード例 #3
0
 public override int InsertLocation(Tcc.Location.BusinessEntities.Location entity)
 {
     return(TccContext.Tcc.DB.Insert <Tcc.Location.BusinessEntities.Location>("Location", entity)
            .AutoMap(x => x.Id)
            .ExecuteReturnLastId <int>());
 }