public virtual void Delete(SMC_AutoTableID entity) { try { SMC_AutoTableIDDao.Delete(entity); } catch (DalException ex) { throw new BOException("????????????", ex); } }
public virtual int Save(SMC_AutoTableID entity) { if (SMC_AutoTableIDDao.Get(entity.at_id) == null) { return(SMC_AutoTableIDDao.Insert(entity)); } else { return(SMC_AutoTableIDDao.Update(entity)); } }