Esempio n. 1
0
 public bool Update(BaseEntitie ent)
 {
     return(dao.Update(ent, null) > 0);
 }
Esempio n. 2
0
 public bool Insert(BaseEntitie ent)
 {
     return(dao.Insert(ent, null) > 0);
 }
Esempio n. 3
0
 public bool Delete(BaseEntitie ent)
 {
     return(dao.Delete(ent, null) > 0);
 }
Esempio n. 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));
        }
Esempio n. 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));
        }
Esempio n. 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));
        }
Esempio n. 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));
        }
Esempio n. 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));
        }
Esempio n. 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));
        }
Esempio n. 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));
        }