Forums - C# Corner

Forum guidelines
Santosh Pisipati

Santosh Pisipati

  • 1.4k
  • 34
  • 13.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.