public DatabaseFixture() { var options = new DbContextOptionsBuilder <PitchContext>() .UseInMemoryDatabase(databaseName: "test_database") .Options; Context = new PitchContext(options); }
public PitchContext pitch() { PitchContext _localctx = new PitchContext(Context, State); EnterRule(_localctx, 30, RULE_pitch); try { State = 139; switch (TokenStream.La(1)) { case Accidental: EnterOuterAlt(_localctx, 1); { State = 136; _localctx.a = Match(Accidental); State = 137; _localctx.p = Match(PitchSymbol); } break; case PitchSymbol: EnterOuterAlt(_localctx, 2); { State = 138; _localctx.p = Match(PitchSymbol); } break; default: throw new NoViableAltException(this); } } catch (RecognitionException re) { _localctx.exception = re; ErrorHandler.ReportError(this, re); ErrorHandler.Recover(this, re); } finally { ExitRule(); } return(_localctx); }
public UserService(PitchContext context, IPasswordManager passwordManager) { _context = context; _passwordManager = passwordManager; }
public PitchService(PitchContext context, IPitchImage imageService) { _context = context; _imageService = imageService; }
public TeamService(PitchContext context) { _context = context; }
public ContactMessageService(PitchContext context) { _context = context; }
public CaptainService(PitchContext context, IPasswordManager passwordManager, ITeamService teamService) { _context = context; _passwordManager = passwordManager; _teamService = teamService; }
public CommentService(PitchContext context) { _context = context; }
public ReservationService(PitchContext context) { _context = context; }
public PitchImageService(PitchContext context) { _context = context; }
public MessageService(PitchContext context, IAccountService accountService) { _context = context; _accountService = accountService; }