Skip to content

Instantly share code, notes, and snippets.

View rflechner's full-sized avatar

Flechner Romain rflechner

View GitHub Profile
@rflechner
rflechner / EventStoreService.cs
Created December 20, 2016 15:41 — forked from trbngr/EventStoreService.cs
EventStore as a windows service w/ TopShelf
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Net;
namespace EventStoreService
{
public class EventStoreService
{
@rflechner
rflechner / Dapper.fs
Created December 14, 2015 17:00 — 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 =