Problem and Question

The Problem:

I used the wizard to create a test entity model for my database (SQL 2005). Although it detected all the tables it only created an entity for the first table 'Addresses', and no more. No build errors. Known bug?

The Question:

Will the entity model have support for datasource binding?

I have my own object-model library at present and I get the code gen to write a lot of the ObjectDataSource functions, e.g. select by primary key, select by foreign key etc.. It works ok..

It would be *fantastic* if the generated entity could be its own datasource type, e.g.NorthwindDataSourcethat could be dropped onto forms without the need to use ODS as the glue.

[851 byte] By [HowardRichards] at [2008-2-4]
# 1
Scrub the question, just seen the post in

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=644035&SiteID=1

HowardRichards at 2007-8-30 > top of Msdn Tech,Visual Studio Orcas,ADO.NET Orcas...
# 2

Regarding the problem you describe, you can check out the output from the code-generator. Right now it's not going to the output window as you might expect. If I remember correctly it goes to the tasks window, in the plug-ins or macros category. You can see if something stopped the system from generating classes for the rest.

As for the question on data-binding, as it says in the thread you point to, we're looking into it.

Pablo Castro
ADO.NET Technical Lead
Microsoft Corporation

pablo-ms at 2007-8-30 > top of Msdn Tech,Visual Studio Orcas,ADO.NET Orcas...

Visual Studio Orcas

Site Classified