1 - I am attaching it zipped
2 - I am using an entity object save method
3 - Here is the SQL I captured in SQL profiler:
exec sp_executesql N'UPDATE [Repository].[dbo].[Subject] SET [HostIdent]=@HostIdent,[LastUpdate]=@LastUpdate WHERE ( [Repository].[dbo].[Subject].[SubjectId] = @SubjectId1)',N'@HostIdent varchar(50),@LastUpdate smalldatetime,@SubjectId1 int',@HostIdent='a',@LastUpdate='2007-07-11 06:48:00:000',@SubjectId1=1964
I executed it manually and SQL Server returned this error:
Msg 208, Level 16, State 1, Procedure SubjectUpdateDateLastUpdated, Line 7
Invalid object name 'dbo.Repository_Subject_tbl'.
So it looks like LLBL is doing what it's suppose to, any idea what SQL Server is doing?
The table Repository_Subject_tbl doesn't exist anymore and I looked in the system tables and find no trace of the old name.