linq2db.EntityFrameworkCore icon indicating copy to clipboard operation
linq2db.EntityFrameworkCore copied to clipboard

Fixed SkipOnUpdate

Open CryptKat opened this issue 3 years ago • 0 comments

There may be properties which should be writeable only at insertion time (SkipOnInsert = false, SkipOnUpdate = true). Atm, SkipOnUpdate is mapped from BeforeSaveBehavior, which is wrong, because it will skip value not only on update, but also on insert. SkipOnUpdate must be mapped from AfterSaveBehavior. Fixed.

CryptKat avatar Nov 24 '22 08:11 CryptKat