mardi 5 mai 2015

EF in.NET, Layers DTO DAL DAO

I'm real confused about layers in .NET so i'm looking for some explanations for each of the following. DTO(how does it transfer an obeject from DAL to BL?) DAL DAO, BO/BL(are the same?). What does each of those layer should contain and what is the relation between each other. Where does repository pattern should be implemented and what exactly is the repository pattern is CRUD a repo?. where does CRUD operation should be implemented in BL or DAL? What is a DOMAIN "The domain will be modelled by the Entity Framework upon the tables found in the database", ok so if i'm using code first?. I'm looking for simple explanations and simple pieces of code especially for DTO / DAL and DAO, for which i'm the most confused upon. I've read articles viewed tutorials but it didn't filled my gape. In which layer does EF belong? Why is it a good practice to put your models in in both a different class library and in the Model folder in the MVC.

Aucun commentaire:

Enregistrer un commentaire