Entity Model
public partial class Categoies { public Categoies() { this.Posts = new HashSet(); } public int Id { get; se
I was trying to map an IEnumerable to an object. This is way I got this error. Maybe it helps.