what is the best way to check that there are no rows in a table in entity framework?
I have this piece of code
context.users.Count() ==0
but I think that it could be expensive to count the rows in a table to check if there are rows in the table or not, so is there any other way to do this.