terminology - What is the purpose of a Data Access Layer? -


i started project long time ago , created data access layer project in solution have never developed in it. purpose of data access layer? there sources learn more data access layer?

in 2 words: loose coupling

to keep code use pull data data store (database, flat files, web services, whatever) separate business logic , presentation code. way, if have change data stores, don't end rewriting whole thing.

these days, various orm frameworks kind of blending dal other layers. typically makes development easier, changing data stores can painful. fair, changing data stores pretty uncommon.


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -