/// <summary> /// Make up ANOTable plans based on existing ANOTable/column usages. For example if the column chi is being migrated and there is at least one column /// called chi or ANOchi already existing (probably from another table) then we should suggest using ANOTable ANOchi. /// </summary> /// <returns></returns> internal void Initialize(ExtractionInformation[] allExtractionInformations, CatalogueItem[] allCatalogueItems, List <JoinInfo> joins, List <Lookup> lookups, ColumnInfo[] allColumnInfosSystemWide, ForwardEngineerANOCataloguePlanManager planManager) { _allExtractionInformations = allExtractionInformations; _allCatalogueItems = allCatalogueItems; _joins = joins; _lookups = lookups; _allColumnInfosSystemWide = allColumnInfosSystemWide; _planManager = planManager; }
public ForwardEngineerANOCatalogueEngine(IRDMPPlatformRepositoryServiceLocator repositoryLocator, ForwardEngineerANOCataloguePlanManager planManager) { _catalogueRepository = (CatalogueRepository)repositoryLocator.CatalogueRepository; _shareManager = new ShareManager(repositoryLocator); _planManager = planManager; _allColumnsInfos = _catalogueRepository.GetAllObjects <ColumnInfo>(); }