LINQ in Action roller

Linq to SQL doesn't support Identity TinyInt

Using the VS2008 RTM, and SQL 2005 I got the following error when I tried to add a row where the Primary Key column was of TinyInt. I was amused by the statement, since there were already 4 rows in the table that the server very happily generated the value and added. ==================================== System.NotSupportedException was unhandled Message="The primary key column of type 'TinyInt' cannot be generated by the server. " Source="System.Data.Linq" StackTrace: at System.Data.Linq.SqlClient.QueryConverter.GetIdentityExpression(MetaDataMember Read More...
Published Wednesday, November 28, 2007 6:16 PM by MSDN Forums: LINQ Project General
Anonymous comments are disabled

Featured Item

This Blog