I am trying to build this online food ordering app. while testing a HttpPost method in a controller using Postman, I am expecting a bool value of true ...
I am trying to build this online food ordering app. while testing a HttpPost method in a controller using Postman, I am expecting a bool value of true ...
I've seen several different architectural approaches to implementing spring jpa with hibernate. At a high level something that we have in place right ...
I have an ASP.NET Core 6 MVC app that I created from a VS 2022 template. I'm writing a custom data access layer and business logic layer. I know I ca ...
I'm having trouble getting my head around how to use the repository pattern with a more complex object model. Say I have two aggregate roots Student a ...
I am trying to read information from my DAL and am wondering what built in types am I suppose to use in C# to extract the DATE Data Type in MySql to r ...
Looking up "dao data consistency" or "data access layer data consistency" on Google returns nothing useful Suppose I have to write DAOs that use a SQ ...
I am using a Sql-connection to create a temporary table and perform DML operations on it. The temporary table act as a staging area, for preparation o ...
I have built a SQL database with my CustomerDetails, ProductDetails, OrderDetails from scratch and also stored procedures to create new Customers, new ...
I need to update a C# .NET Framework library which handles most of our SQL tasks. Currently this library is vulnerable for SQL injection. I found out ...
I want to create a small application for inserting Amount Date note Account_Name into table transaction. I don't want to create an action method for ...
I am currently trying to get a custom field 'emakers_custom_field_warehouse_name' in the products when an order is made with the code below. Here's m ...
Need to make all the existing repos (around 30+) fault tolerant to deadlock and recover from it with log and wait approach. Tried with success: I've ...
I'm working on a training project developing a DAL for Northwind with Entity Framework and another DAL with linq2db in the same project. I keep getti ...
Can I do something similar to this in a .NET Core Class Library? I'm having trouble adding a reference to System.Data.SqlClient to my .NET Core Class ...
We currently have this code to get some property group options : For some reason, it's not able to get the value 'Zilver' and $lineInfo returns emp ...
In 95% of examples I see, people are adding @Entity or @Document annotations to their domain objects. I would like to create an app in which I can ea ...
The code that I am reading looks like : @Entity @Table(name = "TABLE_NAME") public interface DAL_Object { long condition_A_statisfied_Flag = 0x0 ...
I want to add a selector for date during order process in checkout. In which step should the custom field of an order be updated? And how is the custo ...
In my data access layer, I have the Entities assembly and Repository assembly. In the Entities assembly, I have Address class In the Repository ass ...
I know some data access layer patterns like: Table data gateway Row data gateway Active record Data mapper ... JPA is a specification t ...