public InventoryService(LegacyDbContext legacyContext, RSIDbContext rsiContext, IUnitService unitService, IConfiguration configuration) { _legacyContext = legacyContext; _rsiContext = rsiContext; _unitService = unitService; _configuration = configuration; }
public static vwContact Contacts(this SomeObject someObject) { var dbContext = new LegacyDbContext(); var contacts = from o in someObject join c in dbContext.vwContact on o.ContactId == c.KeyField select c; return(contacts); }
public UnitService(LegacyDbContext context) { _context = context; }
public FornecedorRepository(UnitOfWorkProperty uow, ILogger <FornecedorRepository> logger) { _context = uow.Property <LegacyDbContext>(); _logger = logger; }
public OrganizationService(LegacyDbContext context) { _context = context; }
public ConsoleApp(LegacyDbContext legacyDb, SourceDbContext sourceDb, TargetDbContext targetDb) { _legacyDb = legacyDb; _sourceDb = sourceDb; _targetDb = targetDb; }
public GeographyService(LegacyDbContext context) { _context = context; }
public FornecedorRecursoRepository(UnitOfWorkProperty <LegacyDbContext> context) { _context = context; }