G
Guest
H
My application consists of three layers, presentaion layer(PL), Business Logic layer(BLL) and Data Access layer(DAL)
my application is a single windows form application
now BLL consits of couple of classes, in one class of BLL, i need to access a function of PL
the function declaration is as..... public void MyFunc().......which is not a static one
and there r lot of functions which use the above function.. s
in the middle of the application development i cant change the Function into a static one. At this situation i created a object of the PL and used in the BLL class , Can i do like this
Is my approach is a bad one
I heard that only upper layers should use the objects of the lower layers classes..
My PL class is having an object of my BLL class and my BLL class is having an object of the PL class, is this bad design
PL <----------> BL
-----need hel
---------seas
My application consists of three layers, presentaion layer(PL), Business Logic layer(BLL) and Data Access layer(DAL)
my application is a single windows form application
now BLL consits of couple of classes, in one class of BLL, i need to access a function of PL
the function declaration is as..... public void MyFunc().......which is not a static one
and there r lot of functions which use the above function.. s
in the middle of the application development i cant change the Function into a static one. At this situation i created a object of the PL and used in the BLL class , Can i do like this
Is my approach is a bad one
I heard that only upper layers should use the objects of the lower layers classes..
My PL class is having an object of my BLL class and my BLL class is having an object of the PL class, is this bad design
PL <----------> BL
-----need hel
---------seas