Example #1
0
        public override Boolean Equals(object obj)
        {
            if ((obj == null) || (obj.GetType() != this.GetType()))
            {
                return(false);
            }
            C_CasNumber castObj = (C_CasNumber)obj;

            return((castObj != null) &&
                   (this.CasNumberID == castObj.CasNumberID));
        }
Example #2
0
        public IList<C_CasNumber> Select(C_CasNumber data)
        {

                IList<C_CasNumber> datos = new List<C_CasNumber>();

                try
                {
                    datos = GetHsql(data).SetMaxResults(WmsSetupValues.NumRegs).List<C_CasNumber>();
                    if (!Factory.IsTransactional)
                        Factory.Commit();

                }

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

                return datos;
        }
Example #3
0
 public C_CasNumber SelectById(C_CasNumber data)
 {
     return (C_CasNumber)base.SelectById(data);
 }
Example #4
0
 public Boolean Delete(C_CasNumber data)
 {
     return base.Delete(data);
 }
Example #5
0
 public Boolean Update(C_CasNumber data)
 {
     return base.Update(data);
 }
Example #6
0
 public C_CasNumber Save(C_CasNumber data)
 {
     return (C_CasNumber)base.Save(data);
 }
Example #7
0
 public void DeleteC_CasNumber(C_CasNumber data) { Factory.DaoC_CasNumber().Delete(data); }
Example #8
0
 public void UpdateC_CasNumber(C_CasNumber data) { Factory.DaoC_CasNumber().Update(data); }
Example #9
0
 public C_CasNumber SaveC_CasNumber(C_CasNumber data) { return Factory.DaoC_CasNumber().Save(data); }
Example #10
0
 public IList<C_CasNumber> GetC_CasNumber(C_CasNumber data) { return Factory.DaoC_CasNumber().Select(data); }