FSharp.QueryProvider


QueryTranslator

Namespace: FSharp.QueryProvider

Nested types and modules

TypeDescription
QueryDialect

The different sql dialects to translate to.

QueryType

The type of query to create.

Functions and values

Function or valueDescription
createCommand (...)
Signature: connection:SqlConnection -> preparedStatement:PreparedStatement<SqlDbType> -> SqlCommand

Create IDbCommand from a PreparedStatement

translate (...)
Signature: _queryDialect:QueryDialect -> queryType:QueryType -> getDBType:GetDBType<SqlDbType> option -> getTableName:GetTableName option -> getColumnName:GetColumnName option -> expression:Expression -> PreparedStatement<SqlDbType>

Takes a Linq.Expression tree and produces a sql query and DataReader.ConstructionInfo to construct the resulting data.

translateToCommand (...)
Signature: queryDialect:QueryDialect -> queryType:QueryType -> getDBType:GetDBType<SqlDbType> option -> getTableName:GetTableName option -> getColumnName:GetColumnName option -> connection:SqlConnection -> expression:Expression -> SqlCommand * ConstructionInfo option

Translate a Linq.Expression to an IDbCommand

Fork me on GitHub