Skip to content

Instantly share code, notes, and snippets.

View awquadros's full-sized avatar

Augusto Quadros awquadros

  • XPI
  • Canoas-RS-Brazil
View GitHub Profile
@awquadros
awquadros / Dapper.fs
Created September 19, 2018 18:31 — forked from vbfox/Dapper.fs
Minimal dapper in F#
module DapperFSharp =
open System.Data.SqlClient
open System.Dynamic
open System.Collections.Generic
open Dapper
let dapperQuery<'Result> (query:string) (connection:SqlConnection) =
connection.Query<'Result>(query)
let dapperParametrizedQuery<'Result> (query:string) (param:obj) (connection:SqlConnection) : 'Result seq =