示例#1
0
        protected virtual void ExecuteImportData(CrmParameter crmParameter, string dataDir, string[] transformFileNames)
        {
            WriteObject($"Connecting ({crmParameter.GetConnectionStringObfuscated()})");
            var dataImport = new DataImport(crmParameter, transformFileNames);

            dataImport.Logger += Feedback_Received;

            WriteObject("Reading FetchXML data from disk");
            dataImport.ReadFetchXmlQueryResultsFromDiskAndImport(dataDir, null);
        }