コード例 #1
0
        // get all data migrations and init them
        public void InitDataMigrationTransforms(XmlNode configurationParameters)
        {
            m_dataMigrationTransforms.Clear();
            XmlNodeList nodeList = configurationParameters.SelectNodes("//dataMigrations/dataMigration");

            foreach (XmlNode dataMigration in nodeList)
            {
                DataMigrationTransform dataMigrationTransform = new DataMigrationTransform(dataMigration, ConfigurationPath);
                m_dataMigrationTransforms.Add(dataMigrationTransform);
            }
        }
コード例 #2
0
ファイル: Language.cs プロジェクト: sillsdev/CarlaLegacy
 // get all data migrations and init them
 public void InitDataMigrationTransforms(XmlNode configurationParameters)
 {
     m_dataMigrationTransforms.Clear();
     XmlNodeList nodeList = configurationParameters.SelectNodes("//dataMigrations/dataMigration");
     foreach (XmlNode dataMigration in nodeList)
     {
         DataMigrationTransform dataMigrationTransform = new DataMigrationTransform(dataMigration, ConfigurationPath);
         m_dataMigrationTransforms.Add(dataMigrationTransform);
     }
 }