Git Product home page Git Product logo

Comments (4)

jaroslawrutk avatar jaroslawrutk commented on May 27, 2024

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.

JonathanMagnan avatar JonathanMagnan commented on May 27, 2024

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.

JonathanMagnan avatar JonathanMagnan commented on May 27, 2024

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.

JonathanMagnan avatar JonathanMagnan commented on May 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.