Skip to content

BulkSaveChanges inconsistent behavior when saving value that exceeds max field length #333

Description

@ibootbg

Description

BulkSaveChanges behaves inconsistently depending on the number of updated records. When I set a value that exceeds the field's size I expect BulkSaveChanges to fail. This is consistent with SaveChanges. However if I only change a few records the update succeeds and the values in the table are truncated. When I update many records (e.g. 1000) the update correctly fails. Please see this example.

Further technical details

  • EF version: 6.4.0
  • EF Extensions version: 4.0.69
  • Database Provider: SQL Server

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions