Esempio n. 1
0
 /// <summary>
 /// Gets a list of code tables.
 /// </summary>
 /// <param name="db">Database driver.</param>
 /// <returns>List of code tables.</returns>
 public TableSchema.TablesDataTable GetCodeTableList(IDbDriver db)
 {
     //return db.GetCodeTableList(db);
     try
     {
         TableSchema.TablesDataTable tables = db.GetCodeTableList(db);
         return tables;
     }
     catch (Exception ex)
     {
         throw new System.ApplicationException("Could not retrieve code tables from database", ex);
     }
 }
Esempio n. 2
0
 /// <summary>
 /// Gets a list of code tables.
 /// </summary>
 /// <param name="db">Database driver.</param>
 /// <returns>List of code tables.</returns>
 public TableSchema.TablesDataTable GetCodeTableList(IDbDriver db)
 {
     return db.GetCodeTableList(db);
 }