data-access-layer
Advice on replacing Enterprise Library Data Access Block by Entity Framework
A few year ago, we developed a large ASP.Net application (C# / .net 3.5) that had to be \"Database Engine\" non-dependent (meaning this application could either use SQL Server, Oracle, MySQL ... as DB[详细]
2023-02-08 18:17 分类:问答Modernising a 'Hand Rolled' Data Access Library
There\'s this web app, which relies on a sort of data access library (simple data objects and associated objects to perform CRUD operations on them) which is generateddirectly from the database.[详细]
2023-02-08 04:48 分类:问答Recommended considerations to design **Data Access Layer**
What are the recommended considerations to design Data Access Layer for Enterprise level application. Application built in asp.net 2.0 and N-Hibernate is used in DAL, but there are many flaws in curre[详细]
2023-02-07 11:04 分类:问答Assembly, Namespace, DAL; What classes belongs where?
I would like to understand a few basics about Assemblies and Namespaces. I\'ve reproduced an NHibernate tutorial, and everythin开发者_运维技巧g works fine. But I\'m not sure if I agree on what classes[详细]
2023-02-07 04:34 分类:问答ASP.net DAL get ID of record just inserted
// Add into DB int recordID = 0; using (tblArtworkTemplatesTableAdapter tblAdapter = new tblArtworkTemplatesTableAdapter())[详细]
2023-02-07 02:32 分类:问答Entity Framework ObjectSet in Powershell
I\'ve created a DLL in Visual Studio that holds my Entity Framework ObjectContext. I\'m trying to access its various ObjectSets from PowerShell.I\'m doing this because I have some XML files that I\'m[详细]
2023-02-06 21:38 分类:问答Best Practice (Keeping it simple) to wrap a method returning List of Products from DAL to BLL
Below is a method from from my console application calling a DAL method. Whats the best way to wrap this in a BLL method so it can be called directly from the presentation? I have worked on projects i[详细]
2023-02-06 16:22 分类:问答Domain Layer + Repository Layer with asp.net mvc question
Just a quick question about my Domain Layer/ Domain Service... Should I allow this layer to have read only access to the database? i.e. hook up a IReadOnlySession and only allow the Repository Layer t[详细]
2023-02-04 07:51 分类:问答How to use DTO's between UI, BLL, DAL
I\'m trying to write a small app with very strict boundaries between BLL and DAL and am now wondering what the best way would be to pass the data (Domain Transfer Objects) between the layers.[详细]
2023-02-04 00:50 分类:问答Autocomplete optimization for large data sets
I am working on a large project where I have to present efficient way for a user to enter data into a form.[详细]
2023-02-03 15:13 分类:问答