Gauthier Segay

Results 385 comments of Gauthier Segay

I just want to report that I'm in the process of updating a large VS2015 solution using the provider and it seems to work well, so I haven't seen a...

I've added a test case for this issue in a branch: https://github.com/smoothdeveloper/FSharp.Data.SqlClient/tree/issue_bulkcopy_computed_columns ``` FSharp.Data.DataTablesTests.can bulk copy with computed column [FAIL] System.Data.SqlClient.SqlException : The column "year" cannot be modified because it...

The build script is checking if database scripts changed against dev database running on sql localdb, and recreates the database if needed before building code using the type provider. @erlis...

The assert shows when I debug the main solution opening devenv with a test script and edit the script. It seems we have calls to register the sql data types...

Not sure about original decision, but yes it seems calls to those static members happen in some of those. Looking for `DesignTime.` in that file brings few calls although they...

@kkkmail thanks for the bug report. this is due to the default constraint on the column: https://github.com/fsprojects/FSharp.Data.SqlClient/blob/8dd0898fbe9663a7785f2b094a30bf6f36e477cc/src/SqlClient.DesignTime/SqlClientProvider.fs#L294-L299 According to the comment, there is a backing for this behaviour being the...

@daniellittledev could you check if using TableVarMapping parameter fixes the issue? https://github.com/fsprojects/FSharp.Data.SqlClient/blob/eb45a54728545429339b619acc69d2871a9bbd30/src/SqlClient.DesignTime/SqlCommandProvider.fs#L77 Here is sample in the tests: https://github.com/fsprojects/FSharp.Data.SqlClient/blob/eb45a54728545429339b619acc69d2871a9bbd30/tests/SqlClient.Tests/TVPTests.fs#L154-L157 AFAIR, there are some technicalities as to why those TVP can't...

@vcrobe can you try adding `, TableVarMapping = "@idProducts=dbo.Identifiers"`

@cmeeren, where do you see this addition could be made? maybe the faq.fsx page: https://github.com/fsprojects/FSharp.Data.SqlClient/blob/master/docs/content/faq.fsx Would you make an initial PR with addition, explaining the pros and cons of each...

@rkosafo thanks for the issue report, as a work around, you might want to use one of the other constructors, taking a live connection object. @davidtme it seems to be...