private void SetRepository(ICosemMethodRepository r, ICosemClassRepository cr, SGMasterBaseEntities e) { _cosemMethodRepository = r; _cosemMethodRepository.SetEntities(e); _cosemClassRepository = cr; _cosemClassRepository.SetEntities(e); }
private void SetRepository(ICosemAttributeRepository r, ICosemClassRepository cr, ICosemDataTypeRepository cdt, SGMasterBaseEntities e) { _cosemAttributeRepository = r; _cosemAttributeRepository.SetEntities(e); _cosemClassRepository = cr; _cosemClassRepository.SetEntities(e); _cosemDataTypeRepository = cdt; _cosemDataTypeRepository.SetEntities(e); }
private void SetRepository(ICosemObjectRepository r, ICosemLogicalDeviceRepository clr, IDeviceTypeRepository dtr, ICosemClassRepository ccr, ICosemAttributeDataTypeRepository cadtr, SGMasterBaseEntities e) { _cosemObjectRepository = r; _cosemObjectRepository.SetEntities(e); _cosemLogicaDeviceRepository = clr; _cosemLogicaDeviceRepository.SetEntities(e); _deviceTypeRepository = dtr; _deviceTypeRepository.SetEntities(e); _cosemClassRepository = ccr; _cosemClassRepository.SetEntities(e); _cosemAttributeDataTypeRepository = cadtr; _cosemAttributeDataTypeRepository.SetEntities(e); }