/// <summary>CTor.</summary>
		/// <param name="connectionString">The connection string to use when connecting to the database.</param>
		/// <param name="keepConnectionOpen">when true, the DataAccessAdapter will not close an opened connection. Use this for multi action usage.</param>
		/// <param name="catalogNameUsageSetting"> Configures this data access adapter object how to threat catalog names in persistence information.</param>
		/// <param name="catalogNameToUse"> The name to use if catalogNameUsageSetting is set to ForceName. Ignored otherwise.</param>
		/// <remarks>For backwards compatibility.</remarks>
		public DataAccessAdapter(string connectionString, bool keepConnectionOpen, CatalogNameUsage catalogNameUsageSetting, string catalogNameToUse) 
				: base(PersistenceInfoProviderSingleton.GetInstance())
		{
			InitClassPhase2(connectionString, keepConnectionOpen, catalogNameUsageSetting, SchemaNameUsage.Default, catalogNameToUse, string.Empty, null, null);
		}
        /// <summary>
        /// Initializes the class.
        /// </summary>
        /// <param name="connectionString"></param>
        /// <param name="keepConnectionOpen"></param>
        /// <param name="catalogNameUsageSetting"></param>
        /// <param name="catalogNameToUse"></param>
        /// <param name="catalogNameOverwrites"></param>
        /// <param name="schemaNameOverwrites"></param>
        private void InitClass(string connectionString, bool keepConnectionOpen, CatalogNameUsage catalogNameUsageSetting, string catalogNameToUse,
			CatalogNameOverwriteHashtable catalogNameOverwrites, SchemaNameOverwriteHashtable schemaNameOverwrites)
        {
            base.ConnectionString = connectionString;
            base.KeepConnectionOpen = keepConnectionOpen;
            if(catalogNameOverwrites == null)
            {
                _catalogNameOverwrites = new CatalogNameOverwriteHashtable(catalogNameUsageSetting);
                if(catalogNameUsageSetting!=CatalogNameUsage.Default)
                {
                    _catalogNameOverwrites.Add("*", catalogNameToUse);
                }
                else
                {
                    base.ReadHandleCatalogNameSettingFromConfig(_catalogNameOverwrites);
                }
            }
            else
            {
                _catalogNameOverwrites = catalogNameOverwrites;
            }
            _schemaNameOverwrites = schemaNameOverwrites;
        }