Skip to main content

Questions tagged [data-access]

1 vote
3 answers
215 views

I'm working on a large Typescript project in NodeJS with Prisma, where we have dozens of domain entities—some with 30+ fields and complex relations. We're using the repository pattern to abstract data ...
biitse's user avatar
  • 21
0 votes
1 answer
169 views

I'm creating a web application with Asp.Net Core MVC, and I've replaced Entity Framework with a custom data store. I've decided to use Dapper, but have never used it prior to this project. So I'm ...
eaglei22's user avatar
  • 147
1 vote
1 answer
1k views

I have a C# application that needs to connect to either an Oracle database or a SQLite database. The databases can be considered "identical" - same schema - but users have the ability to &...
Adam's user avatar
  • 113
1 vote
1 answer
536 views

We're dealing with a lot of "data analysis", basically different sorts of data mangling, aggregations and calculations using Pandas. Usually, the data is time series data. All underlying ...
highviolet's user avatar
0 votes
0 answers
137 views

In the past, when I've used MVC, my model objects were just dumb data containers. Everywhere I read says that in MVVM, models should contain business logic as well as being a data container. Now that ...
Alex F.'s user avatar
-2 votes
2 answers
153 views

Lets say we have a table 'A' with 4 referenced tables : Table B,C,D,E In our Data Acces Layer we could write a method that returns Table A containg every entity of B,C,D,E by joining in order to reuse ...
Michael's user avatar
0 votes
1 answer
51 views

I have a web app that is capable of connecting to multiple databases that are identical in structure but contain different data; each of our clients who uses the app gets their own copy of the ...
ekolis's user avatar
  • 577
-4 votes
1 answer
581 views

Goal: write code to express SQL queries in C# that get converted to SQL at the data layer level and will be compatible with any common data layer / ORM such as Dapper or Entity Framework (EF). Edit: ...
Christian Findlay's user avatar
1 vote
1 answer
268 views

All, Question: Should I have a common data access API between various cross platform applications or keep the data access specific to the UI even though it would result in duplication? Background: ...
0perator's user avatar
  • 113
1 vote
1 answer
743 views

I have 3 projects in my solution : An ASP MVC project A console app project A class library project (the DataAccessLayer) I didn't want to recreate an ADO.net entity data model for each project so I'...
flofreelance's user avatar
2 votes
2 answers
2k views

Can a UWP App access data outside its own app data, publisher data, or what the user picks with the FilePicker? As far as I can tell, a shared publisher area and a user prompt with the FilePicker are ...
kayleeFrye_onDeck's user avatar
16 votes
3 answers
14k views

I have gone back and forth on this issue several times. On one hand, you could argue, a repository's single responsibility is to manage the persistent state of an entity, and the consuming ...
TheCatWhisperer's user avatar
0 votes
1 answer
177 views

I am working on a process that requires two different portions of it to make use of an ORM (I am using Insight.Database for this), and I am not sure where this portion of the code belongs, as I am not ...
Wayne Molina's user avatar
  • 15.7k