public override void Commit() { if (_doc == null) { base.Commit(); } else { string searchTerm = _doc.GetMemberName(base.Session); if (string.IsNullOrEmpty(searchTerm)) { return; } ExecuteSearch(searchTerm); } }