コード例 #1
0
 public ConfigRepository(FootballEntities context)
 {
     this.context = context;
 }
コード例 #2
0
 public TeamRepository(FootballEntities context)
 {
     this.context = context;
 }
コード例 #3
0
 public FootballRepository(FootballEntities context)
 {
     this.context = context;
     InitialiseRepositories();
 }
コード例 #4
0
 public PlayerMatchRepository(FootballEntities context)
 {
     this.context = context;
 }
コード例 #5
0
        public void Refresh()
        {
            if (context == null)
                return;

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