Home About

All posts tagged with "Dapper"

A collection of 6 posts tagged with "Dapper"

Page 1 of 1

C# Dapper - How to select using a list of Ids with an IN clause in MSSQL

Using Dapper you can easily map results of a query to an object or a list of objects. Sometimes you want to select a list of »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on C#, Dapper, MSSQL 17 June 2022

C# Dapper - How to make select, insert, update and delete statements

Dapper makes it easy to "Execute a query and map the results - if any - to a strongly typed List". This post demonstrates how to »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on C#, MSSQL, Dapper 13 June 2022

C# Dapper - Return inserted identity

This post describes two ways to get the generated identity of a newly inserted row. We will use the following table simple table with an Id »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on C#, MSSQL, Dapper 12 June 2022

Dapper - have a different tablename than the name of your entity / class

Dapper [https://github.com/StackExchange/Dapper] will automatically look for a table with a name that matches your entity's name, however sometimes your entities do not »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Dapper, SQL 26 February 2018

Solution for "Invalid return type" from Dapper.Contrib when inserting row

This is another one of those embarrassing moments. I just had this issue for quite some time and I could not figure out what I was »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on C#, Dapper, .Net 23 October 2017

MSSQL/Dapper - Slow select statement on VARCHAR column with index

I recently had an odd experience with a select statement. It was a very simple select statement hitting a unique index on a varchar column. But »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Dapper, MSSQL, Encoding 21 June 2017
Page 1 of 1
Rss
Twitter
LinkedIn
profile for Peter Rasmussen at Stack Overflow, Q&A for professional and enthusiast programmers
Peter Daugaard Rasmussen - developer, Consultant, Blogger © 2022 Cookie policy