hello,
in the model when i use
[ForeignKey("ItemId")] public virtual ICollection<DepartmentItem> Items { get; set; }
when i try to create controller i get the following error
The navigation 'Items' on entity type 'xxx.Models.Department' has not been added to the model, or ignored, or target entityType ignored.
any help?