예제 #1
0
        public DalExecute()
        {
            var res = new MatchResult_Entities();

            res.Database.Connection.Open();
            res.Database.Connection.Close();
        }
예제 #2
0
 public void CloseConnection(MatchResult_Entities entities)
 {
     entities.SaveChanges();
     entities.Database.Connection.Close();
 }
예제 #3
0
 public void SaveChanges(MatchResult_Entities entities)
 {
     entities.SaveChanges();
 }