when trying to query my database with entityframework i get the following error:
The navigation property of type ‘System.Collections.Generic.IEnumerable1[[TASK.Warehouses.Domain.NoteProducts.NoteProduct, TASK.Warehouses.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' is not a single implementation of 'System.Collections.Generic.ICollection1[T]’.
what could be the problem and how could i fix it
when trying to query my database with entityframework i get the following error: The
Share
You wrote Code-First classes that have
IEnumerable<T>navigation properties.Entity Framework requires that your navigation properties be of type
ICollection<T>.