Santosh Pisipati

Santosh Pisipati

  • NA
  • 124
  • 17.8k

Entity Framework

Dec 19 2012 8:02 AM
1. from m in me.Messages where m.RoomID == Convert.ToInt32(lblRoomId.Text)
                            orderby m.TimeStamp descending
                            select m).Take(20).OrderBy(m => m.TimeStamp);
Above Query is in Linq and should be changed to Entity Framework

2.