Esempio n. 1
0
        public IList<DataInformation > Select(DataInformation  data)
        {
            IList<DataInformation > datos = new List<DataInformation >();
            try { 
            datos = GetHsql(data).List<DataInformation >();
            if (!Factory.IsTransactional)
                Factory.Commit();

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

        }
Esempio n. 2
0
 public void DeleteDataInformation(DataInformation data) { Factory.DaoDataInformation().Delete(data); }
Esempio n. 3
0
 public void UpdateDataInformation(DataInformation data) { data.ModTerminal = "T"; Factory.DaoDataInformation().Update(data); }
Esempio n. 4
0
 public DataInformation SaveDataInformation(DataInformation data) { data.ModTerminal = "T"; return Factory.DaoDataInformation().Save(data); }
Esempio n. 5
0
 public IList<DataInformation> GetDataInformation(DataInformation data) { return Factory.DaoDataInformation().Select(data); }
Esempio n. 6
0
 public DataInformation  SelectById(DataInformation  data)
 {
     return (DataInformation )base.SelectById(data);
 }
Esempio n. 7
0
 public Boolean Delete(DataInformation  data)
 {
     return base.Delete(data);
 }
Esempio n. 8
0
 public Boolean Update(DataInformation  data)
 {
     return base.Update(data);
 }
Esempio n. 9
0
 public DataInformation  Save(DataInformation  data)
 {
     return (DataInformation )base.Save(data);
 }