I need to understand Interface :
I have this structure :
Core (contain Interface)
BLL (Contain object who implement interface
DAL (Contain Data access)
IHM (Call BLL object)
For example, i have an Interface Core.IVehicle who describe a basic vehicle like :
Color
Speed
And a one method :
LoadVehicle(int id) //return a iVehicule with speed and color
In my BLL, I have an object "BLL.Car" who implement "Core.IVehicle". So, i will have a LoadVehicle method and access to DALfor get basics informations
But DAL need to return an object "BLL.Car" implemented. But i can't make a reference to BLL because of Circular Dependencies.
What i've miss? How my DAL can return an object "BLL.Car" implemented?