Last post Mar 10, 2011 05:06 PM by rwilson513
May 24, 2008 06:21 AM|MuhammadKaMuhammad|LINK
I have found the properties related to caching in DataAccess Class.
But the caching in not used in DAL Classes and used in BLL Classes.
So can any one tell me why the author creates them in the root class of DAL.
May 24, 2008 08:56 AM|DigiMortal|LINK
May 24, 2008 10:22 AM|MuhammadKaMuhammad|LINK
Sir, I know the caching is good and apply in BLL.
May 26, 2008 05:17 AM|MuhammadKaMuhammad|LINK
The question is that why the author used caching properties in DAL because he already used in BLL
Jun 23, 2008 03:34 PM|docluv|LINK
The data layer is a mechanism to talk to the database and not used for business stuff. Hence you would cache the collection of business objects, like News Articles, in the business layer. The business layer uses the DAL to talk to the data store and it manages
any business related rules. The DAL and UI layers are very simple in relation to the business layer.
Mar 10, 2011 05:06 PM|rwilson513|LINK
What if you have a very large query result in the DAL, and you want to retrieve subsets of this data in the BLL? Can you store the raw query result in cache in the DAL (and possibly give it a CacheKeyDependency, similar to the property of a SqlDataSource)?
Then retrieve subsets of this cached data in the BLL?