fsprojects / fsprojects/FSharp.Data.SqlClient

Statically typed DataSet

Open
#203 0 comments 0 reactions 1 assignee View on GitHub

@ntr is already working on this.

Since Mar 25, 2016.

feature
Dominant language
F#
Stars
206
Forks
66
PR merge metrics
No merged PRs in 30d

Description

  1. Includes all database tables
  2. Navigation support
  3. Ideally reuses same erased types for tables
type DB = SqlProgrammabilityProvider<"Server=.;Database=AdventureWorks2012;Trusted_Connection=yes">

let ds = DB.DataSet()

//table types re-use
//pseudo code below
let orders = ds.Tables.Sales.SalesOrderHeader
assert (typeof<DB.Sales.Tables.SalesOrderHeader> = orders.GetType())

//navigation
// load orders from database 
let orderLines = orders.[0].SalesOrderDetails
orderLines.Add(...)
// remove, update children

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.