Hi
I have data like this
id = 1<pk>
SDate = 12/12/2009
EDate = 12/12/2009
binding = a_1
userid = 14
id = 2<pk>
SDate = 12/12/2009
EDate = 12/12/2009
binding = a_1
userid = 14
I want to group my data by binding. I am not sure how to do this though. Do I have to make a new select to do this?
so far I have this
Db.Table.Where(u => u.UserId == userId && u.Binding == binding)
.GroupBy(u => u.Binding)
So I want to return all the columns. Do I have to go
.select(group = new Table {....});