public void Save(dbServerItem server, string dbFilePath)
 {
     using (context = new dbConfContext(dbFilePath))
     {
         context.dbServerConfig.Add(server);
         context.SaveChanges();
     }
 }
        public dbServerItem Load(string dbFilePath)
        {
            ObservableCollection <dbServerItem> config = new ObservableCollection <dbServerItem>();

            using (context = new dbConfContext(dbFilePath))
            {
                context.dbServerConfig.Include(s => s.opcMonitoredTags).Load();

                config = context.dbServerConfig.Local;
            }

            return(config.LastOrDefault());
        }