Method | Description | |
---|---|---|
GenerateTableSQLFromFields ( string tablename, List |
Convenience function to generate SQL to create a table matching the provided fields
|
|
GetDefaultClient ( string hostname ) : IDataClient |
Get an instance of the default overridding database type
|
|
GetMagicAdapter ( |
Uses a select statement and the ADO.NET CommandBuilder to generate Insert,Update, and Delete statements, and load them onto an adapter
|
|
GetMagicTable ( |
'Magically' populates a DataTable object with the contents of your sql query
|
|
HasColumn ( string columnname, string tablename, |
Returns true if a particular table has a particular column
|
|
HasTable ( |
Checks the schema of the database to see if the given table is present
|
|
RowCount ( |
public static GenerateTableSQLFromFields ( string tablename, List |
||
tablename | string | the name for the new table |
columns | List |
a collection of FixedWidthField objects |
return | string |
public static GetDefaultClient ( string hostname ) : IDataClient | ||
hostname | string | |
return | IDataClient |
public static GetMagicAdapter ( |
||
conn | ||
client | IDataClient | |
sql | string | |
return |
public static GetMagicTable ( |
||
conn | ||
client | IDataClient | |
sql | string | |
return |
public static HasColumn ( string columnname, string tablename, |
||
columnname | string | |
tablename | string | |
conn | ||
client | IDataClient | |
return | bool |
public static HasTable ( |
||
conn | ||
client | IDataClient | |
tablename | string | |
return | bool |
public static RowCount ( |
||
conn | ||
client | IDataClient | |
tablename | string | |
return | int |