Entity assignment operator