}                                              //0-BIN,1-PRODUCT,2-BIN,PRODUCT
        //Sirve para saber cuales son las condiciones del conteo.

        public override Boolean Equals(object obj)
        {
            if ((obj == null) || (obj.GetType() != this.GetType()))
            {
                return(false);
            }

            CountSchedule castObj = (CountSchedule)obj;

            return((castObj != null) &&
                   (this.RowID == castObj.RowID));
        }
Example #2
0
        public IList<CountSchedule> Select(CountSchedule data)
        {
            IList<CountSchedule> datos = new List<CountSchedule>();

            try {
                datos = GetHsql(data).List<CountSchedule>();
            if (!Factory.IsTransactional)
                Factory.Commit();


                            }
                catch (Exception e)
                {
                    NHibernateHelper.WriteEventLog(WriteLog.GetTechMessage(e));
                }


            return datos;
        }
Example #3
0
 public void UpdateCountSchedule(CountSchedule data) { Factory.DaoCountSchedule().Update(data); }
Example #4
0
 public void DeleteCountSchedule(CountSchedule data) { Factory.DaoCountSchedule().Delete(data); }
Example #5
0
 public CountSchedule SaveCountSchedule(CountSchedule data) { return Factory.DaoCountSchedule().Save(data); }
Example #6
0
 public IList<CountSchedule> GetCountSchedule(CountSchedule data) { return Factory.DaoCountSchedule().Select(data); }
Example #7
0
 public CountSchedule SelectById(CountSchedule data)
 {
     return (CountSchedule)base.SelectById(data);
 }
Example #8
0
 public Boolean Delete(CountSchedule data)
 {
     return base.Delete(data);
 }
Example #9
0
 public Boolean Update(CountSchedule data)
 {
     return base.Update(data);
 }
Example #10
0
 public CountSchedule Save(CountSchedule data)
 {
     return (CountSchedule)base.Save(data);
 }