Esempio n. 1
0
 public static IEnumerable <string> GetTableColumnNames(this IDbConnection connection, string tableName, string extendedProperty, string value)
 {
     Njit.Sql.TableHelper tableHelper = new Njit.Sql.TableHelper(connection.ConnectionString, tableName);
     return(tableHelper.GetColumnNames(extendedProperty, value));
 }
Esempio n. 2
0
 public static string[] GetTableColumnNames(this IDbConnection connection, string tableName)
 {
     Njit.Sql.TableHelper tableHelper = new Njit.Sql.TableHelper(connection.ConnectionString, tableName);
     return(tableHelper.GetColumnNames());
 }