I need to invoke a constructor inside of a linq query.
I am getting this error:
Only parameterless constructors and initializers are supported in LINQ to Entities.
Here's my linq query:
IQueryable<Object> list = (from u in db.Object select new Object(u));
Here is my constructor:
public Object(Object presentation){}