Skip to main content
0 votes
1 answer
78 views

As a coding test I've been tasked with developing a toy three-layer architecture DBMS project, involving OOP principles. The three-layer stuff isn't strictly my background so I've been trying to study ...
GokuToucher's user avatar
0 votes
0 answers
46 views

I have an interface: public interface UserDao extends Dao <UserEntity> {} It has one Implementation UserdaoImpl which looks like: @Component public class UserDaoImpl extends EsBaseDao < ...
raga_717's user avatar
0 votes
1 answer
54 views

As far as I know Repositories should work with Domain/Business Entities. All the operations to save and retrieve data to create entities should go there, and then the Repository is used by the Domain ...
Nikola's user avatar
  • 138
1 vote
0 answers
41 views

I've got some kind of calendar feature in my Laravel app. Users can have one or more calendars. The owner of a calendar can share it with another user. If an owner shares a calendar with someone, he ...
user2190492's user avatar
  • 1,198
2 votes
1 answer
284 views

I'm a fossil I know. I still use dataset, Datatable, Datarow, Dataview and so on. Having been around since the VB 4 days, I have seen many different data accesses come and go. I consider the dataset ...
Mikael's user avatar
  • 21
2 votes
1 answer
3k views

I am using Next.js with MongoDB, Currently I am using the MongoDB client itself in TypeScript. I was wondering if later on I have to change my database, I need to customize the api/route.ts file. ...
Visrut's user avatar
  • 762
0 votes
1 answer
88 views

I'm currently working on a React application that's using an internal API endpoint call, which interacts with a DAL layer and writes to a MongoDB hosted online. My issue, I made a less complicated ...
ArchangeLillith's user avatar
0 votes
0 answers
787 views

I have a project with NestJS where I use the classic controller-service-dal architecture. Until recently, I performed only simple queries from the DAL which returned the models themselves (or entities ...
user2993539's user avatar
1 vote
1 answer
613 views

I have 2 tables in my db. One is country table and other is state table. Country table has Id, name ,states[]. State table has Id, stateName, countryId. I need to fetch a country details based on Id ...
Saran S's user avatar
  • 79
0 votes
0 answers
31 views

if the id that I get from database won't change during process(which usually don't), why can't I set it final? and by "can't" I mean I didn't see any software that did it before. I searched ...
lWubaLubaDubDubl's user avatar
2 votes
3 answers
2k views

I have a data access layer (a C# library), a .NET Core application that I intend to use as a service and several projects that need to talk to this service, including a Blazor WASM project. My DAL has ...
Hannah Hayes's user avatar
0 votes
0 answers
51 views

Do you have any suggestions on how one might one split the "action method" (see code below) into a separate DAL and BLL? public ActionResult GetLogs() { //set up your connection ...
Rajnikant's user avatar
0 votes
1 answer
85 views

I'm trying to use DI and Access Layer Pattern copying this https://davek.dev/crud-with-mongodb-in-c-and-net-6#heading-service-layer. So my project structure is like this: where DbAccess Has This ...
Dorialean's user avatar
0 votes
0 answers
38 views

I'm using IDbConnection interface for saving data into my SQL tables, that has a method called Execute, which executes the query and returns the number of rows affected I have the following code: ...
Dake's user avatar
  • 1
0 votes
0 answers
108 views

Here is my SQL query: CREATE PROCEDURE User_CRUD @Action varchar(20), @eno int, @ename varchar(50), @salary money AS IF @Action = 'Insert' BEGIN INSERT INTO employee (...
Nani's user avatar
  • 9

15 30 50 per page
1
2 3 4 5
86