Home > Database > Mysql Tutorial > mysql-EF操作MYSQL 序列不包含任何匹配元素

mysql-EF操作MYSQL 序列不包含任何匹配元素

WBOY
Release: 2016-06-06 09:34:42
Original
1859 people have browsed it

mysqlnetc#eflinq

序列不包含任何匹配元素

说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.InvalidOperationException: 序列不包含任何匹配元素

源错误:

行 67: using (AllRunSoftContext db = new AllRunSoftContext())
行 68: {
行 69: return db.Set().Where(exp).SingleOrDefault();
行 70: }
行 71: }

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template