コード例 #1
0
 public DataSeeder(FFDbContext _ctx)
 {
     playerSvc     = new PlayerService(_ctx);
     clubSvc       = new ClubService(_ctx);
     teamSvc       = new TeamService(_ctx);
     userSvc       = new UserService(_ctx);
     teamPlayerSvc = new TeamPlayerService(_ctx);
     playerSvc.Initialize();
 }
コード例 #2
0
 public TeamService(FFDbContext _ctx)
 {
     ctx = _ctx;
 }
コード例 #3
0
 public TeamService()
 {
     ctx = FFDbContextFactory.CreateCtx();
 }
コード例 #4
0
 public ClubService(FFDbContext _ctx)
 {
     ctx = _ctx;
 }
コード例 #5
0
 public PlayerService(FFDbContext _ctx)
 {
     ctx = _ctx;
 }
コード例 #6
0
 public PlayerService()
 {
     ctx = FFDbContextFactory.CreateCtx();
 }
コード例 #7
0
 public UserService(FFDbContext _ctx)
 {
     ctx = _ctx;
 }
コード例 #8
0
 public FixtureService(FFDbContext _ctx)
 {
     ctx = _ctx;
 }
コード例 #9
0
 public FixtureService()
 {
     ctx = FFDbContextFactory.CreateCtx();
 }