Top "Data-access-layer" questions

Data access layer is a layer of a computer program which provides simplified access to data stored in persistent storage of some kind, such as an entity-relational database.

What is the difference between DAO and Repository patterns?

What is the difference between Data Access Objects (DAO) and Repository patterns? I am developing an application using Enterprise Java …

hibernate domain-driven-design ejb-3.0 repository-pattern data-access-layer
Separation of business logic and data access in django

I am writing a project in Django and I see that 80% of the code is in the file models.py. …

python django model-view-controller data-access-layer business-logic-layer
How to write unit tests for database calls

I'm near the beginning of a new project and (gasp!) for the first time ever I'm trying to include unit …

database unit-testing testing integration-testing data-access-layer
Execute stored procedure w/parameters in Dapper

I'm using Dapper (thanks Sam, great project.) a micro ORM with a DAL and by some reason I'm not able …

c# sql stored-procedures data-access-layer dapper
Problem when trying to configure enterprise library 5.0 (Data Access Application Block)

I am running into some problems while trying to get DAAB from Enterprise library 5.0 running. I have followed the steps …

web-config enterprise-library data-access-layer daab enterprise-library-5
No context type was found in the assembly

I'm using .NET 4.0, MVC3, and EF5 with code first. My solution is split up into three projects, with the dependencies …

asp.net entity-framework connection-string data-access-layer entity-framework-5
What is the purpose of a Data Access Layer?

I started a project a long time ago and created a Data Access Layer project in my solution but have …

terminology data-access-layer
Why does an Entity Framework Connection require a metadata property?

I switched my DAL from using LINQ over to Entity Framework. Because my application connects to different databases depending on …

database entity-framework connection connection-string data-access-layer
How do I determine if a column is in the primary key of its table? (SQL Server)

I am currently using... select Table_Name, Column_name, data_type, is_Nullable from information_Schema.Columns ...to determine information …

sql-server code-generation primary-key data-access-layer
Repository Pattern vs DAL

Are they the same thing? Just finished to watch Rob Connery's Storefront tutorial and they seem to be similar techinques. …

asp.net-mvc data-access-layer