Questions tagged [dapper-contrib]

Dapper.Contrib contains a number of helper methods for inserting, getting, updating and deleting records.

Dapper.Contrib contains a number of helper methods for inserting, getting, updating and deleting records.

Source: https://github.com/StackExchange/dapper-dot-net/tree/master/Dapper.Contrib

47 questions
-1
votes
2 answers

C# type parameter only reads as base class

I have a base class I'll call TypeBase and several classes derived from it, for grins lets call them TypeImage and TypeAsset. Here's what happens in the code: ... TypeBase b = null; MethodDoingStuff(passedID, ref b); RepositoryCall(b,…
greedyLump
  • 220
  • 3
  • 15
-1
votes
1 answer

DapperContrib - Update using Abstract Class

I have a bass class like this: public abstract class Document { [Dapper.Contrib.Extensions.Key] public Int32 DoucmentID {get;set;} public String Name {get;set;} } Then I have public class Proposal : Document { public String ProposalStuff…
melegant
  • 1,649
  • 2
  • 12
  • 15
1 2 3
4