Hi,
My Solution contains the following projects:
BusinessFacade
BusinessRules
DataAccess
SystemFramework s
WebUI
=============== ==============
namespace BusinessFacade //BusinessFacade project with added
SystemFramework s reference
public ClassA : SystemFramework s.ClassB
{
....
}
=============== ==============
namespace SystemFramework s //SystemFramework s project
public ClassB
{
.....
}
=============== ==============
namespace WebUI //WebUI project with added BusinessFacade reference
public class WebForm1 //code behind my webform
{
BusinessFacade. ClassA obj = new BusinessFacade. ClassA();
do something with obj.......
}
=============== ==============
To make the code behind WebForm1work, I have to add SystemFramework s
reference to WebUI project which doesn't seem right to me. I always thought
that I only suppose to add BusinessFacade reference to WebUI project and not
the others. But in this scenario I had to add SystemFramework s reference to
WebUI. Have I got it wrong?
Thanks in advance
Mehdi
My Solution contains the following projects:
BusinessFacade
BusinessRules
DataAccess
SystemFramework s
WebUI
=============== ==============
namespace BusinessFacade //BusinessFacade project with added
SystemFramework s reference
public ClassA : SystemFramework s.ClassB
{
....
}
=============== ==============
namespace SystemFramework s //SystemFramework s project
public ClassB
{
.....
}
=============== ==============
namespace WebUI //WebUI project with added BusinessFacade reference
public class WebForm1 //code behind my webform
{
BusinessFacade. ClassA obj = new BusinessFacade. ClassA();
do something with obj.......
}
=============== ==============
To make the code behind WebForm1work, I have to add SystemFramework s
reference to WebUI project which doesn't seem right to me. I always thought
that I only suppose to add BusinessFacade reference to WebUI project and not
the others. But in this scenario I had to add SystemFramework s reference to
WebUI. Have I got it wrong?
Thanks in advance
Mehdi