Exemple #1
0
        void test()
        {
            DataModelContainer ctx = new DataModelContainer(new EntityConnection());
            var emp = ctx.Employes.SingleOrDefault(e => e.Id == 1);

            var contr = emp.hh15;

            DBContext fdf;
        }
Exemple #2
0
        void test()
        {
            DataModelContainer ctx = new DataModelContainer(new EntityConnection());
            var emp = ctx.Employes.SingleOrDefault(e => e.Id == 1);

            var contr = emp.hh15;

            DBContext fdf;
        }
 public void CloseContext()
 {
     _ctx.Dispose();
     _ctx = null;
 }
Exemple #4
0
 public void CloseContext()
 {
     _ctx.Dispose();
     _ctx = null;
 }