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