BulkSaveChanges inconsistent behavior when saving value that exceeds max field length · Issue #333 · zzzprojects/EntityFramework-Extensions (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

@ibootbg

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