Пример #1
0
        public override Boolean Equals(object obj)
        {
            if ((obj == null) || (obj.GetType() != this.GetType()))
            {
                return(false);
            }
            BinRoute castObj = (BinRoute)obj;

            return((castObj != null) &&
                   (this.RowID == castObj.RowID));
        }
Пример #2
0
        public IList<BinRoute> Select(BinRoute data)
        {
            IList<BinRoute> datos = new List<BinRoute>();
            try {
                datos = GetHsql(data).List<BinRoute>();
            if (!Factory.IsTransactional)
                Factory.Commit();

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

        }
Пример #3
0
 public void DeleteBinRoute(BinRoute data) { Factory.DaoBinRoute().Delete(data); }
Пример #4
0
 public void UpdateBinRoute(BinRoute data) { Factory.DaoBinRoute().Update(data); }
Пример #5
0
 public BinRoute SaveBinRoute(BinRoute data) { return Factory.DaoBinRoute().Save(data); }
Пример #6
0
 public IList<BinRoute> GetBinRoute(BinRoute data) { return Factory.DaoBinRoute().Select(data); }
Пример #7
0
 public BinRoute SelectById(BinRoute data)
 {
     return (BinRoute)base.SelectById(data);
 }
Пример #8
0
 public Boolean Delete(BinRoute data)
 {
     return base.Delete(data);
 }
Пример #9
0
 public Boolean Update(BinRoute data)
 {
     return base.Update(data);
 }
Пример #10
0
 public BinRoute Save(BinRoute data)
 {
     return (BinRoute)base.Save(data);
 }