Could not find an implementation of the query pattern
Is the tblPersoon implementing IEnumerable<T>? You may need to do it using: var query = (from p in tblPersoon.Cast<Person>() select p).Single(); This kind of error (Could not find an implementation of the query pattern) usually occurs when: You are missing LINQ namespace usage (using System.Linq) Type you are querying does not implement IEnumerable<T> Edit: Apart … Read more