public Entity ReplaceOtherContext(System.DateTime newTimestamp, bool newIsLoggedIn) { var entity = otherContextEntity; if(entity == null) { entity = SetOtherContext(newTimestamp, newIsLoggedIn); } else { entity.ReplaceOtherContext(newTimestamp, newIsLoggedIn); } return entity; }