i'm using the DAAB (Enterprise Library) to access the data in my system. But I need to use the schema from the tables i'm reading....
when I was using the default DataAdapter, I have used the FillSchema() method, but now, when I use de DAAB to fill de data, I couldn't get the primary keys columns, unique columns neither autoincrement columns...
This is the code that i'm using to get the data with DAAB:
===========================
Database db = DatabaseFactory.CreateDatabase();
DBCommandWrapper cmd = db.GetSqlStringCommandWrapper("SELECT * FROM Customer");
ds = db.ExecuteDataSet(cmd);
===========================
But this code don't return the schema from the "Customer" table.
Microsoft está realizando una encuesta en línea para comprender su opinión del sitio web de Msdn. Si decide participar, se le presentará la encuesta en línea cuando abandone el sitio web de Msdn.