Skip to content

Instantly share code, notes, and snippets.

@dmitry-a-morozov
Created February 26, 2015 19:23
Show Gist options
  • Save dmitry-a-morozov/04db553a31b5cddf8849 to your computer and use it in GitHub Desktop.
Save dmitry-a-morozov/04db553a31b5cddf8849 to your computer and use it in GitHub Desktop.
SqlCommandProvider static factory
open FSharp.Data
type Get42 = SqlCommandProvider<"SELECT 42", "Data Source=.;Integrated Security=True;", SingleRow = true>
Get42.Create().Execute()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment