data-access-layer
AutoMapper in the DAL: When to use Mapper.Reset()?
I\'m using AutoMapper in a g开发者_运维知识库enerated Data Access Layer. That works fine. It was a little confusing when using AutoMapper in another layer and realizing the mappings created in the DAL[详细]
2023-03-13 03:10 分类:问答Why to avoid dynamic SQL queries ? any suggestion to remove there bad part and to use these?
Can you please guide me why dynami开发者_运维百科c SQL is suggested to avoid ? Is there any way that I can keep on using dynamic SQL and avoid its bad things ?http://www.sommarskog.se/dynamic_sql.html[详细]
2023-03-12 23:46 分类:问答Singleton Data Access Object (Dao) & SQL Helper Instance, Is here any Performance drawback?
I need comments from Experts. I write my own SQL Helper Class to Communicate with DB. Why I use it as because I try to[详细]
2023-03-12 05:18 分类:问答EF, DAL facade and Unit Testing
I\'m in the process of creating a Data Access Layer to one of my projects, it\'s merely a facade interface to the Entity Framework, so most of the underlying calls contain no logic besides calling the[详细]
2023-03-11 07:57 分类:问答Is it possible to stub Entity Framework context and classes to test data access layer?
I\'m familiar with techniques used for testing controllers and business logic in ASP .NET MVC application.[详细]
2023-03-10 17:57 分类:问答Access to Model in Entity Framework
What is the problem of idea that we have a static property of our entity model like this? public class Repository{[详细]
2023-03-09 10:53 分类:问答Reading and Updating Data Using SqlDataAdapter Question
I\'m looking for some examples on how to best use SqlDataAdapter to access and update data in my application.[详细]
2023-03-09 06:18 分类:问答Business Logic + ASP.NET MVC
I\'ve an MVC application, which is divided into 3 layers: - Presentation - ASp.NET MVC - Busines Logic - Here we have entities and object services. We alo have mappers between DAL objects and BL objec[详细]
2023-03-08 13:34 分类:问答Strategies for replacing legacy data layer with Entity framework and POCO classes
We are using .net C# 4.0, VS 2010, EF 4.1 and legacy code in this project we are working on. I\'m working on a win form project where I have made a decision to start using entity framework 4.1 for ac[详细]
2023-03-07 17:30 分类:问答Implementing provider pattern?
I have seen some articles on provider patten. I have a little idea of开发者_如何学JAVA it and its benefit.I tried to see and do its implementation but got confused. Different authors have done it in d[详细]
2023-03-02 23:49 分类:问答