Closed koskedk closed 4 years ago
Hello @koskedk ,
Thank you for the project, we will try it and check why that's happening.
Best Regards,
Jon
Hello @koskedk ,
The v3.0.17 has been released.
Could you try it and let us know if everything is now working as expected?
We indeed, unfortunately, introduced this issue recently.
I can confirm that it's now working. Thank you
Hi I recently upgraded to Dapper plus 3.0.15 from 3.0.5 in my .Net Core 3.1 project.
I'm currently having problems when saving a new object into an SQLite database: this is the error
_Microsoft.Data.Sqlite.SqliteException : SQLite Error 19: 'NOT NULL constraint failed: Car.Id'. at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db) 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 .(DbCommand , BulkOperation , Int32 ) at .( , DbCommand ) at .Execute(List
1 actions) at .(List
1 ) at Z.BulkOperations.BulkOperation.Execute() at Z.BulkOperations.BulkOperation.BulkInsert() at Z.Dapper.Plus.DapperPlusAction.Execute() at Z.Dapper.Plus.DapperPlusActionSet1.DapperPlusActionSetBuilder(DapperPlusContext context, IDbConnection connection, IDbTransaction transaction, String mapperKey, DapperPlusActionKind actionKind, IEnumerable
1 items) at Z.Dapper.Plus.DapperPlusActionSet1..ctor(DapperPlusContext context, IDbConnection connection, String mapperKey, DapperPlusActionKind actionKind, IEnumerable
1 items) at Z.Dapper.Plus.DapperPlusExtensions.BulkInsert[T](IDbConnection connection, String mapperKey, T[] items) at Z.Dapper.Plus.DapperPlusExtensions.BulkInsert[T](IDbConnection connection, T[] items)_Here is a sample code
I have had to downgrade to Dapper plus 3.0.5 for it to work