fsprojects / fsprojects/FSharp.Data.SqlClient
Statically typed DataSet
Open
@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
- Includes all database tables
- Navigation support
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.