Ramco Ramco

Ramco Ramco

  • 1k
  • 1.5k
  • 127.3k

Linq Query Count

Dec 6 2022 10:48 AM

Hi

  I have below code & i want that if there is more than 1 record it should give message

TicketAnalysi objUpload = context.TicketAnalysis.Single(rec => rec.TicketID == Convert.ToInt32(hdfTicketId.Value));

Thanks


Answers (2)