Hi
I'm using some lambda for sql access - does anyone know how to do a select statement, I have the following below, but the select don't work.
IEnumerable<Table1> agentTeamFacts = entities.Table1
.Where(
e => e.InstanceID.Equals(Id))
.OrderBy(a => a.ID)
.ThenBy(a => a.Date)
.Select(a => new {a.ROWID, a.PID, a.nDate.Value});
Thanks
I'm using some lambda for sql access - does anyone know how to do a select statement, I have the following below, but the select don't work.
IEnumerable<Table1> agentTeamFacts = entities.Table1
.Where(
e => e.InstanceID.Equals(Id))
.OrderBy(a => a.ID)
.ThenBy(a => a.Date)
.Select(a => new {a.ROWID, a.PID, a.nDate.Value});
Thanks