public GenericDataService(SimpleTraderDbContextFactory contextFactory) { _contextFactory = contextFactory; _nonQueryDataService = new NonQueryDataService <T>(contextFactory); }
public AccountDataService(SimpleTraderDbContextFactory simpleTraderDbContextFactory) { _contextFactory = simpleTraderDbContextFactory; _nonQueryDataService = new NonQueryDataService <Account>(simpleTraderDbContextFactory); }
public AccountDataService(SimpleTraderDbContextFactory context) { _context = context; _nonQueryDataService = new NonQueryDataService <Account>(context); }