Posted: 10/10/2009
good morrning all,
in three layer architecture usually we use
DTOs (Data transffer object)
BL (Business logic layer)
DAL (Data access layer)
as we have seen that on page we call BL methods with their objects and then DAL methods are called
From BL.
we can use this small diagrame
Page---------------------------->BL(non staic methods)----------------------------------------->DAL(static methods)
Mostly in this architecture DAL class methods are built static.
BL class methods are just bulit nonstatic.
Is there any reason behind the scene.
Plaese explain with practical example.
Thanks .......................
Posted: 10/21/2009
Hi Sir,,
Posted: 10/22/2009
Hi Arun,
According to me, DAL methods are static because it doesnot operate on the state of any particular object, so it makes sense that DAL method should be static.
If you have any further issues then let me know
Posted: 10/28/2009
Hi vinay,
Can you please explain it with example?
Thanks,
Sumit