zzz projects Dapper Tutorial
Getting Started Documentation 3rd Party Libraries Knowledge Base Online Examples
  • Getting Started
  • Documentation
  • 3rd Party Libraries
  • Knowledge Base
  • Online Examples
  •   Download  

Dapper Tutorial - Knowledge Base (KB)

6 results in tag: asp.net

How to use Dapper to connect to MySql?

I am new to .NET. I am interested in using the Dapper micro-ORM to access a MySQL backend from an ASP .NET application. ...Can this be done? What do I need to know to get started?
asp.net c# dapper mysql
asked by Learner

What best practices to use for connection and query in Dapper?

So i've read a bunch of links/SO questions, but i still can't get a clear answer on this....When performing SQL queries with Dapper in an ASP.NET application, what is the best practice for opening/closing connections?...Here's the pattern i'm currently fo...
.net asp.net c# dapper sql-server
asked by RPM1984

How in ASP.NET Web API and Dapper, do you send an array of arguments?

Creating a Web API through which array of id is passed and returns the result from the OracleDB....public class SampleController : ApiController { public string Getdetails([FromUri] int []id) { string inconditons = ""; for (int i = ...
asp.net asp.net-mvc asp.net-web-api dapper
asked by trx

Using Visual Studio and Dapper, how do I use a connection string?

I am trying to get a Connection String set up in my .Net Core application but i keep getting the error:...System.NullReferenceException: 'Object reference not set to an instance of an object.'...I have tried adding the following to ...appsettings.json...:...
.net-core asp.net asp.net-mvc c# dapper
asked by JoeG

How in Dapper I pass argument to a select query in an Oracle database?

I'm trying to pass parameters to Dapper for a select query in an Oracle database, but somehow, it doesn't work with the ":" identifier....It works fine using string concatenation :...string req = "SELECT * FROM contact WHERE code_comite = '"; req ...
asp.net dapper model-view-controller oracle select
asked by user7191279

When inserting, updating, or deleting a record, how to get the ID with Dapper?

When I insert or update or delete an entity with Dapper, I need to return the ...id... of entity. ...I am using this code : ...var role = await roleConnection.ExecuteAsync("UPDATE Role SET IsDelete = @isDelete, RoleName = @roleName, SecurityStamp = @secur...
asp.net asp.net-core c# dapper
asked by mr-dortaj

Page 1 of 1
  • 1

Prime Library

Performance

  • Entity Framework Extensions
  • Entity Framework Classic
  • Bulk Operations
  • Dapper Plus

Expression Evaluator

  • C# Eval Expression
  • SQL Eval Function
More Projects...
Get monthly updates by subscribing to our newsletter!
SUBSCRIBE!