protected override void Process(FieldMetadata field) { if (!field.IsVirtual() && field.HasIndex()) { this._enclosing.ProcessBTree(context, field.GetIndex(context.SystemTrans())); } }
public virtual void TestDropIndex() { DropIndex(CatClass, CatFieldNames[0]); Db4objects.Db4o.Internal.FieldMetadata field = FieldMetadata(CatClass, CatFieldNames [0]); Assert.IsFalse(field.HasIndex()); }
public virtual void TestFieldIndex() { Db4objects.Db4o.Internal.FieldMetadata field0 = FieldMetadata(CatClass, CatFieldNames [0]); Assert.IsTrue(field0.HasIndex()); Db4objects.Db4o.Internal.FieldMetadata field1 = FieldMetadata(CatClass, CatFieldNames [1]); Assert.IsFalse(field1.HasIndex()); }
public virtual bool HasIndex() { return(_fieldMetadata.HasIndex()); }