LINQ: Sequence contains no elements(blog.dreamlabsolutions.com)
submitted by
arnoldmatusz(600) 3 years, 3 months ago
LINQ to Entities doesn't support the Single() method. .First() needs to be used instead. By calling .First() an exception is generated if the sequence is empty. This blog post explains how you can still use the Single method on Entities!
|category: Linq
|Views: 122
tags:
LINQ another
Everyones tags:
Your Tags: