Entity Framework: LINQ to Entities only supports casting EDM primitive or enumeration types with IEntity interface
LINQ to Entities only supports casting EDM primitive or enumeration types with IEntity interface