I\'m trying to use LINQ to SQL to select a few specific columns from a table and return the result as a strongly typed list of objects.
For Example:
Make a call to the DB searching with myid (Id of the row) and get back specific columns:
var columns = db.Notifications .Where(x => x.Id == myid) .Select(n => new { n.NotificationTitle, n.NotificationDescription, n.NotificationOrder });