Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27554

[RESOLVED] LINQ Update

$
0
0
So I'm apparently not very good at LINQ yet. Can somebody tell me why this update wouldn't work? It doesn't except or anything, just after it is done, the value in completed in the DB is still false (show true if I do a quick watch on the audit object in VB though).

Code:

Dim audit = (From a In _db.tblAudit_AuditSchedules Where a.id = intID Select a).Single()

audit.completed = True

_db.SubmitChanges()


Viewing all articles
Browse latest Browse all 27554

Trending Articles