/// <summary> /// Behavior of DocumentSession.GetById when the Entity is not found. /// </summary> /// <param name="behavior"></param> public void SetEntityNotFoundBehavior(EntityNotFoundBehavior behavior) { _entityNotFoundBehavior = behavior; }