public virtual void DeleteIndex(string className, string indexName, bool verbose) { NeoDatis.Odb.Core.Layers.Layer2.Meta.ClassInfo classInfo = GetMetaModel().GetClassInfo (className, true); if (!classInfo.HasIndex(indexName)) { throw new NeoDatis.Odb.ODBRuntimeException(NeoDatis.Odb.Core.NeoDatisError.IndexDoesNotExist .AddParameter(indexName).AddParameter(className)); } NeoDatis.Odb.Core.Layers.Layer2.Meta.ClassInfoIndex cii = classInfo.GetIndexWithName (indexName); if (verbose) { NeoDatis.Tool.DLogger.Info("Deleting index " + indexName + " on class " + className ); } Delete(cii); classInfo.RemoveIndex(cii); if (verbose) { NeoDatis.Tool.DLogger.Info("Index " + indexName + " deleted"); } }