Using a BucketContext and Linq2Couchbase, I get an error when I try the following query:
IQueryable[Article] query = (from q in _context.Query()
where q.Type == “Article” && q.Archived == false
select new Article
{
Headline = q.Headline,
…
References = q.References,
…
});
References is a List[T] that has two string properties: Title and URL.
When the query runs, the following error results: Could not cast or convert from System.String to [T].
Thanks for the help!
Mark