I’m reading this sample page on velocitydb, and was wondering about these lines:
public Person BestFriend
{
set
{
Update();
bestFriend = value;
}
}
Why is Update() called before bestFriend is set to the incoming value?
Update “Marks an object as being updated so that object will be written at commit transaction.”