In Linq-to-SQL, it's possible to get all data from an entity object via using the ToList method:
db.users.Tolist();
It is also possible to get multiple columns via the select method:
var users= db.users.Select(
t => new
{
t.c1,
t.c2,
t.c3,
.
.
});
But I want to get all columns without one specific column like this:
db.users.exclude(t.c2).tolist();
Is there any way to solve this issue?