Forums - C# Corner

Forum guidelines
Santosh Pisipati

Santosh Pisipati

  • 741
  • 21
  • 12.9k

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.




Startup Conference 2016

SPONSORED BY

Spire.Doc - Free .NET Word API
Use Spire.Doc to create, read, write, print, and convert word documents to OpenXML, RTF, TXT, XPS, EPUB, EMF, HTML, Image and PDF.