Пример #1
0
        public static bool ValidateMultiDatabaseData(MultiDbData dbData)
        {
            for (int i = 0; i < dbData.Count; i++)
            {
                if (dbData[i].OverrideSequence == null)
                {
                    return(false);
                }

                SerializableDictionary <string, List <DatabaseOverride> > .Enumerator enumer = dbData[i].OverrideSequence.GetEnumerator();
                while (enumer.MoveNext())
                {
                    if (!ConnectionHelper.ValidateDatabaseOverrides(dbData[i].OverrideSequence[enumer.Current.Key]))
                    {
                        return(false);
                    }
                }
            }
            return(true);
        }