Ramco Ramco

Ramco Ramco

  • 439
  • 3.4k
  • 544.9k

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)