LINQ in Action roller

No Association Tag generated with Foreign Key reference to Unique Key

I created two tables and a unique index with the transact-sql below. I then ran SqlMetal using the /dbml option. The generated dbml file did not have the association tags. I do not know if this is an error but i suspect that it is since the Query designer showed the proper linkage between the tables graphically and also generated the correct join statement. This test was run using SqlServer Express 2005. I am using SqlMetal provided with Visual Studio 2008 (Not Beta). If I create a foreign key that Read More...
Published Tuesday, April 29, 2008 9:05 PM by MSDN Forums: LINQ Project General
Anonymous comments are disabled

Featured Item

This Blog

Sponsoring

Syndication