S
shapper
Hello,
I was using LINQ with VS 2008 Beta 2 and suddenly after installed
VS2008 final version I get an error.
My code is really simple:
Dim database As New MyDbDataContext
Dim tag = (From t In database.Tags _
Where t.TagID = index).Single
database.Tags.Remove(tag)
database.SubmitChanges()
I get an error on line 'database.Tags.Remove(tag)':
Does anyone has any idea what might be wrong?
Thanks,
Miguel
I was using LINQ with VS 2008 Beta 2 and suddenly after installed
VS2008 final version I get an error.
My code is really simple:
Dim database As New MyDbDataContext
Dim tag = (From t In database.Tags _
Where t.TagID = index).Single
database.Tags.Remove(tag)
database.SubmitChanges()
I get an error on line 'database.Tags.Remove(tag)':
Remove is not a member of 'System.Data.Linq.Table(Of Tag)
Does anyone has any idea what might be wrong?
Thanks,
Miguel