Skip to content

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

Closed

Description

Image for: Description

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

Metadata

Image for: Metadata

Metadata

Image for: 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

Image for: Issue actions