Hi all,
I'm finally getting around to checking out the latest EF release and I'm running into some troubles with my testing.
So, my DAL layer holds my .EDMX file and I'm using the MS POCO template so I also have the generated .TT files and classes.
I have a generic base class in the TestProject.DAL I've created that those classes derive from. I.e.
public class BaseEntity<T> {}
public class Customer : BaseEntity<Customer> {}
public class Product : BaseEntity<Product> {}
Then in my TestProject.BLL layer I have some derived classes I.e.
public class TestProject.BLL.Customer : TestProject.DAL.Customer {}
public class TestProject.BLL.Product : TestProject.DAL.Product {}
Then, in my UI layer I'm calling my BLL.Customer object. I get an error saying that the reference to the DAL.Customer object is not added, etc.
I have a reference to the BLL project from my UI project and a reference to the DAL from my BLL project.
Why is the UI layer complaining that it knows of the DAL layer when it's not referenced in that project?
Also, as a side question, does this look like a "good" design?
Thanks all! Goosey