Questions tagged as 'dapper'

2
answers

What is FastExpando / FastExpandoObject?

I was reading about Dapper and came across a feature of it called FastExpando or FastExpandoObject , I did not understand very well and I had some doubts about this feature. Questions What is FastExpando / FastExpandoObject? What i...
asked by 01.02.2017 / 03:01
3
answers

How to do 1: N mapping (one to many) in Dapper?

I'm using the Dapper which is a micro ORM used to map the objects according to the tables of the database following the relational model. So, I have some questions regarding mapping and class structure. To illustrate the situation I created...
asked by 27.01.2017 / 13:30
1
answer

Multiple INNER JOINS with DAPPER

I'm trying to make multiple INNER JOIN in Dapper with these classes: public class EventoConfiguracao { public EventoConfiguracao() { //CdEventoConfiguracao = Guid.NewGuid(); Menus = new List<Menu>();...
asked by 21.01.2017 / 03:12
3
answers

How to do an "insert" with Dapper using a class?

I'm testing Dapper and when I try to use a class I found the error:   Must declare the scalar variable Follow the code: public class Teste { public int id; public string nome; public int idade; } using (IDbConnectio...
asked by 02.10.2017 / 18:20
2
answers

SELECT 3 different tables using DAPPER?

First of all I would like to say that I am a beginner in programming, and I am developing my first project. Using ASP.NET MVC Technology. I need to query in 3 different tables: User, Country and State with the following fields User: User...
asked by 14.02.2016 / 21:08
1
answer

Fill Combobox with Dapper

I'm using a combobox component with Dapper , but I'm not able to fill in the combobox correctly, LookUpEdit ctlControle = (LookUpEdit) pr_Controle; var parametro = new DynamicParameters(); parametro.Add("@TABELA_NOME", pr_TabelaNome); parame...
asked by 20.08.2015 / 01:54
2
answers

Difference between ADO.NET and Dapper

What are the differences between the ORM's? When to use one and when to use the other? What are the disadvantages of each?     
asked by 19.07.2018 / 02:32
1
answer

.Net Core, Dapper and Visual Studio Code?

I'm trying to integrate Dapper with .Net Core but I'm not getting it and all the tutorials I found were done in Visual Studio using Nugget. So would anyone know how to do the Dapper import through Visual Studio Code?     
asked by 17.08.2017 / 22:38
2
answers

How to map and get only one property or field of a query?

I'm using Dapper to map object properties . See a practical example: var servico = conexao.Query<Servico>(statement.ToSql(), new { IdServico = id }).First(); That is, the Servico object will have all its properties mapped a...
asked by 29.01.2017 / 16:07
1
answer

Using EF and Dapper in the same project

I'm making a simple insert of a user class, it's taking almost 10 seconds to save the information. So I tried to find other solutions to solve my performance problem and found Dapper . My question is there any way to use the two...
asked by 05.05.2017 / 02:57