public void
CheckRecordExistOrNot()
{
var query =
(from td in dbcontext.taskdetails select
td).ToList();
if
(query.Count > 0)
{
Console.WriteLine("Record
Exists");
}
else
{
Console.WriteLine("Record
Does Not Exists");
}
}
No comments:
Post a Comment