I am using Dapper with unit of work and repository pattern My UOW class and And My Repository and This works fine if i use it once , but ...
I am using Dapper with unit of work and repository pattern My UOW class and And My Repository and This works fine if i use it once , but ...
Table -1 Table -2 model Now I Want Dapper Extension common two table Class Mapper in Dapper Extension how create Make Create Respository or ...
Database table: Model class: ClassMappper Insert code: I get this error: System.ArgumentException: 'Object of type 'System.Int64' ca ...
I am very new to C# (been learning for approximately 6 months in my free time). I have produced a script which can store data in an SQLite Database t ...
I've been looking but still haven't found a solution that satisfies the problem. Is it possible to receive the ID of the last row inserted from a tabl ...
I am looking at a new project and have a bug that needs fixing but have never used Dapper every (only read about it as I believe this site uses it). I ...
Hello I have a common function which looks like below, now on response.Ref1 = Convert.ToString(p.Get<int>("@SP_ID")); line in some of my proc ...
I have a model class like: In the result object I have several ImageGallery row connected to the PageId i.e, there are multiple records having same ...
I have a common dapper function to get list<model> using QueryAsync of dapper the function looks like below now I am calling this method fro ...
I'm trying to run a SQL query in my Oracle database using C# (Dapper Library), I made some adaptations to make it work, and I had no problems with que ...
When I Execute the following SQL, Dapper is -not- substituting the param .. but just writing that raw to the database. (or for some obfuscated exac ...
I cannot get a "WHERE IN" to work with Dapper, Postgres. My DDL My C# POCO object: My DataLayer code. I've temporarily hardcoded the "macro-st ...
this is my model to get values from database, added an image of database query and html result SQL HTML also my partial view to assign values. Valu ...
C# To filter by Ids on a postgreSql query using dapper you can use "= ANY (:myList)" for example Which is equivalent to using IN. But in the case ...
I have the following unit of work implementation: public class UnitOfWork : IUnitOfWork { public UnitOfWork(DbConnection connection) { ...
I am getting the below error when using dapper SQL server update execution. The incoming request has too many parameters. The server supports a maximu ...
There are two ORM in my .NET Core 6.0 project, Entity Framework and Dapper. I would like to share the Fluent API with Dapper. Is there any way to do t ...
I am creating a .NET target framework 7 Web API and I am trying to get data from a Postgresql function using Dapper, but I only get this error : 4 ...
I have a generic method that takes in any class or a list of any class and will return a list of rows or a single row from the database. The problem ...
I am trying to pass an int to a stored procedure variable, but it keeps telling me Dapper Dynamic Parameters cannot convert to int. I seem to be doing ...