Hi,
I used the DatabaseReader to read the list of tables in a database:
var dbReader = new DatabaseReader(connectionString, providername);
var tables = dbReader.AllTables();
I want to iterate through the columns to find the NetType of each.
var table = tables[0];
var column = table.Columns[0];
var typeName = column.DataType.NetDataTypeCSharpName;
column.DataType was not populated. Did I miss something?
On a separate note, I created some T4 templates to generate POCO's. Would you like see whether it's something you'd like to add to the code base?
Thanks,
Candy
I used the DatabaseReader to read the list of tables in a database:
var dbReader = new DatabaseReader(connectionString, providername);
var tables = dbReader.AllTables();
I want to iterate through the columns to find the NetType of each.
var table = tables[0];
var column = table.Columns[0];
var typeName = column.DataType.NetDataTypeCSharpName;
column.DataType was not populated. Did I miss something?
On a separate note, I created some T4 templates to generate POCO's. Would you like see whether it's something you'd like to add to the code base?
Thanks,
Candy