error when using interfaces for Entity Framework (4.2) entities
I am using the the latest version of Entity Framework (4.2) and trying to implement interfaces for my Entities and for some reason, it isn't compiling. it is throwing an error " Cannot convert expression type ICollection<IOrder> to return type ICollection<Order> ". if I don't use interfaces for the entities, then I don't get this error. I have a separate project for interfaces (for repositories and services etc) and I need to pass the EF entities in those methods as parameters and I don't want to pass the actual entities in them, because that will require the interface project to have a