SQLProvider
SQLProvider copied to clipboard
A general F# SQL database erasing type provider, supporting LINQ queries, schema exploration, individuals, CRUD operations and much more besides.
### Description I have a DB that uses quoted (camel case) table names. I couldn't find a way to make the provider use correct names so all my queries fail....
Should we made some of the internal classes/interfaces (like 'ISqlProvider') public so that there could be another project, to reference/combine both FSharp.Data and SQLProvider, to allow `query { ... }`-syntax...
Hey all, I've been investigating an issue by Scott Hutchinson reported here: https://developercommunity.visualstudio.com/content/problem/226479/vs-2017-version-1564-freezes-and-crashes-when-addi.html While I was looking at the issue, it appears that SQLProvider is stack overflowing at design time...
### Description When trying to get Individuals, for example, you'll get the error `error FS3021: Unexpected exception from provided type FSharp.Data.Sql.SqlDataProvider,DatabaseVendor="3",ConnectionString="Server=localhost;Database='prefix-portal';User=user;Password=******",ResolutionPath="c:\\Projects\\tmp\\sql\\MySqlDemo/../../../packages/scripts/MySql.Data/lib/net45",UseOptionTypes="True",Owner="prefix-portal"+dataContext+prefix-portal.customers.Individuals' member 'GetMethods': The type provider 'FSharp.Data.Sql.SqlTypeProvider' reported an error:...
### Description Trying to get a count from a query that has already been sorted throws an exception. ### Repro steps Let's have a sorted query: ``` let q =...
### Description TP puts in an extra `\` (backslash) before any non-default parameter values. I noticed this first by specifying a value for the the `Owner` parameter (see this issue...
### Description The type provider produces invalid SQL (in my case I used SQLite) when using a `sortBy` or `sortByDescending` after a nested query. ### Repro steps **I have added...
### Description As an exercise I've ported a small console application that sync tables in SQL SERVER DB from C# EF to F# SQLProvider. In C# I was able to...
### Description Database has composite types defined which are input/output types to stored procedures. I am attempting to call the said procedure with input parameters. SqlProvider does not see the...
### Description I can't insert a row in a Postgresql table. ### Repro steps 1. Create an entity 2. Submit changes Like this: let ctx = sql.GetDataContext() let row =...