First - if anyone has an entity model with DB2 working, can you please post it? And now for the explanation:
I have a development environment that has a SQL Server database (just for development) and uat/production environments with a DB2 database (more or less the same db, just on a different platform)
Using Visual Studio 2010 I can successfully generate an entity framework model against the SQL Server database, but not against DB2. I have DB2 9.7 client as well as the 'IBM Database Add-ins for Visual Studio' installed which allows me to create connections to the DB2 database and connect to it via Server Explorer, but when I try to generate a model from DB2 Visual Studio hangs and eventually I get an empty model.
Since I can generate a model from SQL Server, I am wondering if it is an easy switch to just change the web.config to point to DB2 instead of SQL Server when my environment switches.
Is anyone out there using entity framework with DB2, and if so can you please post your web.config so I can try just switching providers?