0

I am making asp.net site using Layered architecture. Can I implement and use Data-Set object in presentation layer?

huMpty duMpty
  • 14,061
  • 13
  • 55
  • 93
Mikhail Sokolov
  • 527
  • 1
  • 7
  • 18

3 Answers3

0

Data Access Layer and Business Logic Layer is better place for it. To get more insight try Creating a DAL and Creating a BLL.

Obviously You can use it, but layered architecture is all about separating layers.

rumburak
  • 1,067
  • 10
  • 19
0

For interacting with database, you should use Data Access Layer.

You can have a look the aim of data access layer.

What is the purpose of a Data Access Layer?

Community
  • 1
  • 1
Stack User
  • 1,368
  • 4
  • 18
  • 40
0

I simple layered architecture might have:

Datasets being populated in the DAL

Business Entities / Domain objects in the 'BLL' are populated from the DAL Datasets

The presentation objects are pretty simple data transfer objects that match whatever is being presented.

Obviously there is a bit more to it than this.

Pluralsight have just released a course that might be worth your time?

Neil Thompson
  • 6,316
  • 2
  • 28
  • 52