Monday, February 5, 2024

LINQ Count with condition - Count function

 var recordCount = ctx.Cases.Count(a => a.Role == "admin" && a.Userid="userid");



ref:- https://stackoverflow.com/questions/20755099/linq-count-with-condition


No comments:

Post a Comment