Exemplo n.º 1
0
        public DalExecute()
        {
            var res = new MatchResult_Entities();

            res.Database.Connection.Open();
            res.Database.Connection.Close();
        }
Exemplo n.º 2
0
 public void CloseConnection(MatchResult_Entities entities)
 {
     entities.SaveChanges();
     entities.Database.Connection.Close();
 }
Exemplo n.º 3
0
 public void SaveChanges(MatchResult_Entities entities)
 {
     entities.SaveChanges();
 }