private void InitializeAllData()
        {
            _db?.Dispose();
            _db = new DataEntitiy.TestMesDbEntities();

            // - - - - - - - - - - - - - - - - - - - -

#if RUNNINGTHIS
            _db.Users.Load();
            _db.WorkOrders.Load();
            _db.Permissions.Load();
            _db.Packages.Load();
#else
            // - - - - - - - - - - - - - - - - - - - -

            _db.Users.Load();
            _db.WorkOrders.Include("Packages").Include("Status1").Load();
#endif

            gridControl1.DataSource  = _db.Users.Local;
            vGridControl1.DataSource = _db.WorkOrders.Local;
            treeList1.DataSource     = _db.Packages.Local;
            gridControl2.DataSource  = _db.Status.Local;
        }
 private void simpleButton1_Click(object sender, EventArgs e)
 {
     using (var db = new SpikeContainer.DataEntitiy.TestMesDbEntities())
     {
     }
 }