Beispiel #1
0
 public virtual void TraverseAll(ClassMetadata classMetadata, IVisitor4 command)
 {
     if (!classMetadata.HasClassIndex())
     {
         return;
     }
     classMetadata.Index().TraverseAll(Sourcedb.Transaction(this), command);
 }
Beispiel #2
0
        public virtual int DatabaseIdentityID(DefragmentServicesImpl.DbSelector selector)
        {
            LocalObjectContainer db       = selector.Db(this);
            Db4oDatabase         identity = db.Identity();

            if (identity == null)
            {
                return(0);
            }
            return(identity.GetID(selector.Transaction(this)));
        }
Beispiel #3
0
 /// <exception cref="System.ArgumentException"></exception>
 public virtual StatefulBuffer TargetStatefulBufferByAddress(int address, int length
                                                             )
 {
     return(_targetDb.ReadWriterByAddress(Targetdb.Transaction(this), address, length));
 }