What is the fastest way to determine if a row exists using Linq to SQL?

前端 未结 5 1521

I am not interested in the contents of a row, I just want to know if a row exists. The Name column is a primary key, so there will either be 0 or 1 matching row

5条回答
提交回复
热议问题