Wednesday, June 8, 2011

LinqToSQL - Single method missing

'System.Data.Linq.Table< >' does not contain a definition for 'Single' and no extension method 'Single' accepting a first argument of type 'System.Data.Linq.Table< >' could be found (are you missing a using directive or an assembly reference?)

Just add

using System.Linq;


No comments:

Post a Comment