dapper-extensions Questions

3

I have a table that has a primary key composed of two columns, neither of which are auto-incrementing, and my Dapper insert (part of Dapper Extensions) is failing on the insert saying that the firs...
Quita asked 17/3, 2014 at 18:56

2

Solved

I'm using DapperExtensions v4.0.30319 and I'm trying to let Dapper.Contrib know that my schema is not DBO. I have provided: public class EngineMapper : ClassMapper<Engine> { public EngineMa...
Dike asked 24/3, 2017 at 14:9

2

Solved

I am using Dapper Extensions (DE) as ORM. It is consumed in Data Access Layer which is implemented using Repository pattern. SQL Express is back-end RDBMS. DE automatically generates most of the q...
Syncretize asked 25/5, 2017 at 14:57

5

Solved

How can I ignore a property on my model using dapper/dapper extensions/dapper rainbow or any of those dapper libraries?
Ibnsina asked 31/10, 2013 at 21:4

1

Solved

I am new to Dapper. Let me explain what i am trying to achieve. I have simple query which is returning columns from DB, i don't want to create Entity(Property) class for it to fill the data. I want...
Poree asked 3/4, 2017 at 5:48

2

Solved

This days I try to create an abstract base repository using some basic CRUD functions proposed by DapperExtensions. But the code given as an exemple use a SqlConnection which is made to connect to ...
Cherilyncherilynn asked 27/2, 2017 at 4:1

1

I just started to use Dapper. Dapper works fine. As a next step when I tried to integrate with Dapper Extension. It generates an exception called System.Data.OleDb.OleDbException "Additional inform...
Melleta asked 29/8, 2016 at 5:43

3

I am using Dapper.net Extensions and would like to ignore certain properties without having to write a complete custom mapper. As you can see in the ClassMapper below there is a lot of redundant co...
Eure asked 17/8, 2013 at 16:52

1

I am naming my MYSQL tables and columns using underscore characters: this_is_a_table should map to: ThisIsATable this_is_a_column should map to: ThisIsAColumn Dapper can handle this mapping if i...
Idocrase asked 8/2, 2016 at 14:4

2

Solved

I'm a new baby in Dapper. Trying to incorporate CRUD operations with Dapper and Dapper.SimpleCRUD lib. Here is the sample code... My Data Model Looks like Class Product { public string prodId {ge...
Latitudinarian asked 21/10, 2015 at 16:45

1

Solved

I've just started playing with DapperExtensions and it looks very promising. However, I'm confused on how to handle registering the ClassMapper subclasses. I have both a custom PluralizedAutoClas...
Beldam asked 17/11, 2015 at 23:15

1

Solved

I am using Dapper Extensions to do some simple CRUD operations on a DB. My problem is that the tables I am using are held in a different schema to dbo. Is there a way to choose the schema at the da...
Dempstor asked 5/12, 2013 at 12:11

1

Solved

I have 2 simple tables. create table Owner ( Id int primary key, Name nvarchar(100), ); create table Status ( Id int primary key, BrandName nvarchar(50) OwnerId int foreign key references Ow...
Curtsey asked 21/8, 2013 at 15:40
1

© 2022 - 2024 — McMap. All rights reserved.