Comments (4)
It's working with:
options.ColumnInputExpression = x => new
{
x.ColumnName1,
x.ColumnName2,
x.ColumnName3,
x.ColumnName4,
x.ColumnName5,
x.ColumnName6,
x.ColumnName7,
x.ColumnName8,
x.ColumnName9,
x.ColumnName10,
x.ColumnName11,
x.ColumnName12,
x.ColumnName13,
};
but it's not elegant solution :D
from entityframework-extensions.
Hello @jaroslawrutk ,
I answered on Stack Overflow: https://stackoverflow.com/questions/77329834/bulk-methods-are-throwing-cannot-insert-the-value-null-into-column-ef-extensio
The current solution to specifies the ColumnInputExpression to choose the column to insert or update with the EF Core Bulk Synchronize currently work because you told our library to ignore to insert in your column XXX
.
If you really don't want to insert on this column, I would recommend you to ignore it instead using the IgnoreOnSynchronizeInsertExpression.
NOTE: It's already ignored on the update since this is the custom key used.
Let me know if you need more help on this issue.
Best Regards,
Jon
from entityframework-extensions.
Hello @jaroslawrutk ,
Since our last conversation, we haven't heard from you.
Let me know if you need more information.
Best regards,
Jon
from entityframework-extensions.
Hello again,
A simple reminder that we are here to assist you.
Don't hesitate to contact us if you have any questions.
Best regards,
Jon
from entityframework-extensions.
Related Issues (20)
- Missing values in target table HOT 2
- MySql XAER_RMFAIL error with BulkSaveChanges and TransactionScope HOT 3
- 7.22.4 has undocumented breaking change in temporal table queries HOT 3
- InsertFromQuery ERROR: You currently try to map an entity type directly. You need to specify the property of this entity. HOT 2
- A failed bulk insert or update does not (always) tell which entities failed HOT 1
- ExecuteFutureAction (with useTransactions = true) swallows exceptions and can throw "The underlying provider failed on Rollback." exception HOT 2
- Npgsql.PostgresException: 23505: duplicate key value violates unique constraint HOT 6
- EF CORE 8 and Pgsql 8: Parameter without name in synchronize & merge HOT 3
- BulkInsert Error after upgrading to Ef Core .Net 8 with latest Extensions HOT 2
- BulkInsert Exception using NpgSql and jsonb in .NET 8 HOT 11
- Trial for EF core 7 HOT 3
- BulkInsert taking 20+ min for 80 000 data rows HOT 3
- Force output does not work for merge. HOT 3
- Invalid Cast. The update expression must be of type MemberInitExpression. HOT 3
- Bulk Operations for Postgres does not respect the PermanentTable setting HOT 2
- Avoid Prepared Statements for Bulk operations HOT 6
- WhereBulkContains throwing System.ArgumentNullException: 'Value cannot be null. (Parameter 'name')' HOT 15
- BulkUpdate and BulkMerge Do Not Apply Any Changes To The Table with Owned Entity HOT 1
- BulkSaveChanges results in Foreign Key Constraint Violation but SaveChanges works HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from entityframework-extensions.