コード例 #1
0
        public void ImportActions(CrmServiceClient crmService,
                                  USDConfiguration sourceUsdConfiguration,
                                  USDConfiguration targetUSDConfiguration, List <LookupMatchCriteria> lookupMatchCriterias)
        {
            LookupMatchCriteria actionLookupMatchCriteria = GetLookupMatchCriteria("uii_action", lookupMatchCriterias);

            CRMEntity sourceActionsCE = sourceUsdConfiguration.GetCRMEntity("uii_action");
            CRMEntity targetActionsCE = targetUSDConfiguration.GetCRMEntity("uii_action");



            ImportResult actionsImportResult = _actionRepository.ImportActions(crmService,
                                                                               sourceActionsCE,
                                                                               targetActionsCE,
                                                                               actionLookupMatchCriteria);

            _importResults.Add(actionsImportResult);
        }