You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
EntityFrameworkCore.Jet/test
Christopher Jolly 629398c76b Set CanExecuteQueryString to false. When running tests, if it is set to true, the Query Asserter will also try to create a query string from the IQueryable. While most cases are fine, the problem comes in when there are parameters. Creating the query string declares the parameters and values at the beginning of the query and the DbCommand is set up with no parameters. While this can work in Sql Server (see the DECLARE keyword), this is not supported with Jet.
The Query Asserter already runs the CreateDbCommand on the IQueryable which creates the DbCommand with the parameters all set up. Creating the query string and running that as a separate command is not really necessary.

By the looks of it this only affects the test system which specifically creates a query string from an IQueryable and creates a new DbCommand with that as the command text. It doesn't seem to affect anywhere else
2 years ago
..
EFCore.Jet.Data.Tests Introduce a new typed JetConnectionStringBuilder 3 years ago
EFCore.Jet.FunctionalTests Set CanExecuteQueryString to false. When running tests, if it is set to true, the Query Asserter will also try to create a query string from the IQueryable. While most cases are fine, the problem comes in when there are parameters. Creating the query string declares the parameters and values at the beginning of the query and the DbCommand is set up with no parameters. While this can work in Sql Server (see the DECLARE keyword), this is not supported with Jet. 2 years ago
EFCore.Jet.IntegrationTests Update tests 3 years ago
EFCore.Jet.Tests Enable nullable on src projects (not tests) 3 years ago
JetProviderExceptionTests Update to EF 7 GA version 3 years ago
Directory.Build.props Update to .Net 5 (#99) 4 years ago
Northwind.sql Update tests 3 years ago
xunit.runner.json Implement parallel support for ODBC and OLE DB. 6 years ago