Skip to content

Instantly share code, notes, and snippets.

Avatar

George Dyrrahitis gdyrrahitis

  • Dublin, Ireland
View GitHub Profile
@vbfox
vbfox / Dapper.fs
Last active Feb 26, 2020
Minimal dapper in F#
View Dapper.fs
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 =
@demisx
demisx / angularjs-providers-explained.md
Last active Jun 11, 2021
AngularJS Providers: Constant/Value/Service/Factory/Decorator/Provider
View angularjs-providers-explained.md
Provider Singleton Instantiable Configurable
Constant Yes No No
Value Yes No No
Service Yes No No
Factory Yes Yes No
Decorator Yes No? No
Provider Yes Yes Yes

Constant