예제 #1
0
 public static DataTable GetSchemaDataTable_Restrictions(this DbConnection dbConnection, string[]?restrictionValues          = null) => dbConnection.GetSchemaDataTable(DbMetaDataCollectionNames.Restrictions, restrictionValues);
예제 #2
0
        //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);
예제 #3
0
 public static DataTable GetSchemaDataTable_DataSourceInformation(this DbConnection dbConnection, string[]?restrictionValues = null) => dbConnection.GetSchemaDataTable(DbMetaDataCollectionNames.DataSourceInformation, restrictionValues);