You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered an issue with the UpdateFromQuery method generating an invalid SQL update command when using SQLite.
Exception
Exception message:
Stack trace:
Unhandled exception. Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 1: 'incomplete input'.
at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements()+MoveNext()
at Microsoft.Data.Sqlite.SqliteCommand.GetStatements()+MoveNext()
at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteNonQuery()
at Z.EntityFramework.Extensions.BatchUpdate.<>c.(DbCommand , Nullable`1 )
at Z.EntityFramework.Extensions.BatchUpdate.ExecuteT
at BatchUpdateExtensions.UpdateFromQueryT
at BatchUpdateExtensions.UpdateFromQueryT
at Program.Main()
Description
I encountered an issue with the UpdateFromQuery method generating an invalid SQL update command when using SQLite.
Exception
Fiddle or Project (Optional)
Fiddle that reproduces the issue: https://dotnetfiddle.net/NZ1fWA
Further technical details
The text was updated successfully, but these errors were encountered: