public ConfigRepository(FootballEntities context)
 {
     this.context = context;
 }
Пример #2
0
 public TeamRepository(FootballEntities context)
 {
     this.context = context;
 }
 public FootballRepository(FootballEntities context)
 {
     this.context = context;
     InitialiseRepositories();
 }
 public PlayerMatchRepository(FootballEntities context)
 {
     this.context = context;
 }
        public void Refresh()
        {
            if (context == null)
                return;

            context.Dispose();
            context = new FootballEntities();
            InitialiseRepositories();
        }