data-access-layer Questions
1
I wonder if there is a F# generative type provider that can be bound to a dacpac file that behave like DbmlFile type provider except for a visual studio database project output.
What I am trying t...
Vallery asked 6/4, 2014 at 22:3
6
Solved
I'm using .NET 4.0, MVC3, and EF5 with code first.
My solution is split up into three projects, with the dependencies as indicated:
Project.Web -> Project.BLL -> Project.DAL
The Project.DAL laye...
Disposal asked 23/10, 2012 at 13:48
14
Solved
What is the difference between Data Access Objects (DAO) and Repository patterns? I am developing an application using Enterprise Java Beans (EJB3), Hibernate ORM as infrastructure, and Domain-Driv...
Seanseana asked 18/12, 2011 at 6:5
2
Solved
I'm not sure how to name data store classes when designing a program's data access layer (DAL).
(By data store class, I mean a class that is responsible to read a persisted object into memory, or ...
Fearless asked 16/8, 2010 at 9:32
4
Solved
I have been practicing DDD for a while now with the 4 distinct layers: Domain, Presentation, Application, and Infrastructure. Recently, I introduced a friend of mine to the DDD concept and he thoug...
Marielamariele asked 30/9, 2010 at 19:1
11
Solved
I'm near the beginning of a new project and (gasp!) for the first time ever I'm trying to include unit tests in a project of mine.
I'm having trouble devising some of the unit tests themselves. I ...
Ego asked 1/8, 2009 at 23:14
4
I have be trying to look for an effective way in unit testing my data access layer in C#. I'm primary a Java developer and have only used C# for about 6 months, in the past i've used a library call...
Efren asked 21/2, 2013 at 11:18
6
I looked through some related questions but still I don't see much difference between the a repository and a service layer. So given the example I suppose it should look like this , if not please t...
Gynecium asked 9/4, 2014 at 12:59
3
Well there is a similar topic about transaction script with NoSQL database, but this one is about the pattern in general. From what I find about Transaction script, it is not object-oriented at all...
Prevocalic asked 22/4, 2013 at 5:23
3
Solved
I'm using Dapper in asp.net mvc 4 project .net f/w 4.6.1 using sql server 2016 express
<packages>
<package id="Dapper" version="1.50.2" targetFramework="net461" />
</packages>
...
Tenne asked 24/5, 2017 at 14:27
6
Solved
I'm currently experimenting with MongoDB. I'm moving from a NHibernate/SQL mindset, and so initially I implemented a repository pattern for data access.
This was all looking fine until I started u...
Incursion asked 21/9, 2011 at 10:1
2
Solved
Recently I was learning about ORM (Object Relational Mapping) and the 3 tier architecture style (presentation,business and data persistence).
If I understand correctly, I can separate the data pers...
Tafoya asked 5/6, 2016 at 17:47
9
Solved
I am writing a project in Django and I see that 80% of the code is in the file models.py. This code is confusing and, after a certain time, I cease to understand what is really happening.
Here is w...
Impute asked 25/9, 2012 at 8:23
12
Are they the same thing? Just finished to watch Rob Connery's Storefront tutorial and they seem to be similar techinques. I mean, when I implement a DAL object I have the GetStuff, Add/Delete etc m...
Juratory asked 14/11, 2008 at 20:44
2
My project is layered as follows:-
DAL (Entity) --> BLL (DTO) --> ApplicationComponent (ViewModel).
There will be multiple components of application (ApplicationComponent) which will access B...
Worldling asked 21/11, 2016 at 13:3
2
Solved
I am having a question about the architecture I am working with.
we have a backend restful service, a data layer(which is implemented by python eve and also a restful service), and the datab...
Crumpler asked 6/3, 2017 at 21:22
4
Solved
I am currently using...
select Table_Name, Column_name, data_type, is_Nullable
from information_Schema.Columns
...to determine information about columns in a given database for the purposes of g...
Foresheet asked 21/10, 2008 at 15:6
3
Why are repositories' .Add method usually implemented as accepting the instance of entity to add, with the .Id already "set" (although it can be set again via reflection), which should be...
Chancelor asked 25/3, 2019 at 17:12
2
Solved
I have a repository layer that is responsible for my data-access, which is called by a service layer. The service layer returns DTOs which are serialized and sent over the wire. More often than not...
Chromo asked 21/2, 2011 at 17:12
3
Solved
In Domain Layer or Data access layer?
Calvities asked 13/3, 2010 at 12:17
5
Solved
I'm using Dapper (thanks Sam, great project.) a micro ORM with a DAL and by some reason I'm not able to execute stored procedures with input parameters.
In a example service I've the following code...
Porta asked 6/2, 2014 at 9:15
2
I've been using Realm in a few small projects and I quite like it. I'm hoping to move on to using it in bigger projects and I'm looking for better structure my data access layer.
I came across thi...
Omor asked 1/2, 2017 at 8:56
10
I started a project a long time ago and created a Data Access Layer project in my solution but have never developed anything in it. What is the purpose of a data access layer? Are there any g...
Mingle asked 12/9, 2008 at 20:59
3
Solved
I have read up on both, but it has just confused me more. I have tried to find the differences (and similarities), but am unable to convince myself. Both of them are an intermediate layer between t...
Rusert asked 26/3, 2018 at 20:38
2
Extension Methods for Indexers, would they be good ?
I was playing around with some code that re-hydrates POCO's.
The code iterates around rows returned from a SqlDataReader and and uses r...
Heterogenesis asked 1/3, 2009 at 15:36
1 Next >
© 2022 - 2024 — McMap. All rights reserved.