private static DbProviderMapping GetProviderMapping(
     string dbProviderName,
     DatabaseSettings databaseSettings)
 {
     if (databaseSettings != null)
     {
         DbProviderMapping dbProviderMapping = databaseSettings.ProviderMappings.Get(dbProviderName);
         if (dbProviderMapping != null)
         {
             return(dbProviderMapping);
         }
     }
     return(DatabaseSyntheticConfigSettings.GetDefaultMapping(dbProviderName) ?? DatabaseSyntheticConfigSettings.GetGenericMapping());
 }
 static DbProviderMapping GetProviderMapping()
 {
     DbProviderMapping providerMapping = new DbProviderMapping(providerName, typeof(SqlCeDatabase));
     return providerMapping;
 }
		private DbProviderMapping GetProviderMapping()
		{
			DbProviderMapping providerMapping = new DbProviderMapping(typeof(SqlClientFactory).AssemblyQualifiedName, typeof(SqlDatabase));
			return providerMapping;
		}