Exemple #1
0
        public bool SaveStationMainformConfig(StationFormConfigEntity entity)
        {
            int    retInt = -1;
            object retObj = null;

            if (db.Exists <StationFormConfigEntity>(entity.ID))
            {
                retInt = db.Update(entity);
            }
            else
            {
                retObj = db.Insert(entity);
            }
            if (retInt > 0 || retObj != null)
            {
                return(true);
            }
            return(false);
        }
Exemple #2
0
 public static bool SaveStationFormConfig(StationFormConfigEntity stationformconfig)
 {
     return(new BaseControlDal().SaveStationMainformConfig(stationformconfig));
 }