Find the old entry in the database by comparing it to the first parameter, and update it with the new one.
Find the old entry in the database by comparing it to the first parameter, and update it with the new one. Appropriate when an identity field is changed.
Updates the first entry that matches the identity query.
Updates the first entry that matches the identity query.
the parameter or None
if the entity was not found in the database.
UPDATE
Operations.