Answers for "linq query to check if record exists"

C#
0

linq query to check if record exists

if (dc.Users.Any(u => u.Name == name)) 
{
	// Do something here
}
Posted by: Guest on July-11-2021

Code answers related to "linq query to check if record exists"

C# Answers by Framework

Browse Popular Code Answers by Language