This annotation is deprecated. The default behavior has been changed to accept null values
from the database (which is the expected behavior for most ORMs). If you need to protect specific fields
from null contamination, use IgnoreNullFromDB instead.
Migration Guide:
Old behavior: Fields WITHOUT @UseIfNull ignored nulls from DB; fields WITH @UseIfNull accepted them
New behavior: Fields accept nulls by default; use @IgnoreNullFromDB to protect from nulls
How to migrate:
Remove @UseIfNull from fields that should accept nulls (this is now the default)
Add @IgnoreNullFromDB to fields that previously did NOT have @UseIfNull and you want to keep the protection
IgnoreNullFromDBinstead.Migration Guide:
How to migrate: