public virtual void AddItemToIndex(string itemId, string dbName) { ID id = DataWrapper.GetID(itemId); if (id.IsNull) { return; } Item i = DataWrapper.GetDatabase(dbName).GetItem(id); if (i == null) { return; } AddItemToIndex(i, dbName); }