public static DataTable GetSchemaDataTable_Restrictions(this DbConnection dbConnection, string[]?restrictionValues = null) => dbConnection.GetSchemaDataTable(DbMetaDataCollectionNames.Restrictions, restrictionValues);
//public static Version? GetVersion(IDbConnection conn) => (conn is DbConnection) ? GetVersion(conn as DbConnection) : null; public static DataTable GetSchemaDataTable(this DbConnection dbConnection, GetSchemaCollectionNames collectionName, string[]?restrictionValues = null) => dbConnection.GetSchemaDataTable(collectionName.ToString(), restrictionValues);
public static DataTable GetSchemaDataTable_DataSourceInformation(this DbConnection dbConnection, string[]?restrictionValues = null) => dbConnection.GetSchemaDataTable(DbMetaDataCollectionNames.DataSourceInformation, restrictionValues);