public PostgreSqlDataSource(string name, string connectionString, PostgreSqlDataSourceSettings settings = null)
: base(settings)
{
if (string.IsNullOrEmpty(connectionString))
throw new ArgumentException("connectionString is null or empty.", "connectionString");
m_ConnectionBuilder = new NpgsqlConnectionStringBuilder(connectionString);
if (string.IsNullOrEmpty(name))
Name = m_ConnectionBuilder.Database;
else
Name = name;
m_DatabaseMetadata = new PostgreSqlMetadataCache(m_ConnectionBuilder);
m_ExtensionCache = new ConcurrentDictionary<Type, object>();
m_Cache = DefaultCache;
}