public bool SaveOrUpdateDevice(Device pDevice)
 {
     using (HibernateConnection hibernateConnection = new HibernateConnection())
     {
         using (HibernateRepository<Device> hibernateRepository = new HibernateRepository<Device>(hibernateConnection))
         {
             var insertEntity = hibernateRepository.SaveOrUpdate(pDevice);
             if (insertEntity == null)
             {
                 return false;
             }
             else
             {
                 return true;
             }
         }
     }
 }
 public LogAccess()
 {
     Application = new Application();
     Device      = new Device();
 }
 public Suggestion()
 {
     Application = new Application();
     Device = new Device();
 }
 public LogSearch()
 {
     Application = new Application();
     Device      = new Device();
 }
 public BusTypeSuggestion()
 {
     BusType = new BusType();
     Device = new Device();
     Bus = new Bus();
 }
 public LogFeature()
 {
     Feature = new Feature();
     Device = new Device();
 }