示例#1
0
 public bool Update(BaseEntitie ent)
 {
     return(dao.Update(ent, null) > 0);
 }
示例#2
0
 public bool Insert(BaseEntitie ent)
 {
     return(dao.Insert(ent, null) > 0);
 }
示例#3
0
 public bool Delete(BaseEntitie ent)
 {
     return(dao.Delete(ent, null) > 0);
 }
示例#4
0
        public int Delete(BaseEntitie ent, IDbTransaction TRANS)
        {
            string s_DelSQL = " Delete From BuGPSInfo Where GPSId = @GPSId";

            return(RunCommandWithTransatcion((BuGPSInfo)ent, s_DelSQL, TRANS));
        }
示例#5
0
        public int Delete(BaseEntitie ent, IDbTransaction TRANS)
        {
            string s_DelSQL = " Delete From BuProvinceInfo Where ProvinceCode = @ProvinceCode";

            return(RunCommandWithTransatcion((BuProvinceInfo)ent, s_DelSQL, TRANS));
        }
示例#6
0
        public int Delete(BaseEntitie ent, IDbTransaction TRANS)
        {
            string s_DelSQL = " Delete From BuSchedule Where ScheduleId = @ScheduleId";

            return(RunCommandWithTransatcion((BuSchedule)ent, s_DelSQL, TRANS));
        }
示例#7
0
        public int Delete(BaseEntitie ent, IDbTransaction TRANS)
        {
            string s_DelSQL = " Delete From BuWFRelationshipLog Where LogId = @LogId";

            return(RunCommandWithTransatcion((BuWFRelationshipLog)ent, s_DelSQL, TRANS));
        }
示例#8
0
        public int Delete(BaseEntitie ent, IDbTransaction TRANS)
        {
            string s_DelSQL = " Delete From BuCarRepair Where RepairId = @RepairId";

            return(RunCommandWithTransatcion((BuCarRepair)ent, s_DelSQL, TRANS));
        }
示例#9
0
        public int Delete(BaseEntitie ent, IDbTransaction TRANS)
        {
            string s_DelSQL = " Delete From BuGastankInfo Where TankNumber = @TankNumber";

            return(RunCommandWithTransatcion((BuGastankInfo)ent, s_DelSQL, TRANS));
        }
示例#10
0
        public int Delete(BaseEntitie ent, IDbTransaction TRANS)
        {
            string s_DelSQL = " DELETE FROM ayjz_xxts   WHERE  ID=@ID ";

            return(RunCommandWithTransatcion((ayjz_xxtsInfo)ent, s_DelSQL, TRANS));
        }