示例#1
0
 public RallyController()
 {
     RallyCatDbContext.SetConnectionString("RallyCatConnection");
     _dbContext = RallyCatDbContext.QueryDb();
     RallyBackgroundData.SetDbContext(_dbContext);
     _rallyService   = new RallyService();
     _graphicService = new GraphicService();
     _azureService   = new AzureService(RallyBackgroundData.Instance);
 }
 public void Init()
 {
     RallyCatDbContext.SetConnectionString(_conn);
     _context = RallyCatDbContext.QueryDb();
 }