private void WriteCachedDirty()
        {
            IEnumerator i = _dirtyClassMetadata.GetEnumerator();

            while (i.MoveNext())
            {
                PersistentBase dirty = (PersistentBase)i.Current;
                dirty.Write(SystemTransaction());
                dirty.NotCachedDirty();
            }
            _dirtyClassMetadata.Clear();
        }
 public virtual void WriteIDOf(Transaction trans, PersistentBase persistent)
 {
     if (persistent == null)
     {
         WriteInt(0);
         return;
     }
     if (CanWritePersistentBase())
     {
         persistent.WriteOwnID(trans, this);
     }
     else
     {
         WriteInt(persistent.GetID());
     }
 }
Esempio n. 3
0
		public sealed override void SetDirtyInSystemTransaction(PersistentBase a_object)
		{
		}
Esempio n. 4
0
		public virtual void WriteIDOf(Transaction trans, PersistentBase persistent)
		{
			if (persistent == null)
			{
				WriteInt(0);
				return;
			}
			if (CanWritePersistentBase())
			{
				persistent.WriteOwnID(trans, this);
			}
			else
			{
				WriteInt(persistent.GetID());
			}
		}
Esempio n. 5
0
		public abstract void SetDirtyInSystemTransaction(PersistentBase a_object);
 public sealed override void SetDirtyInSystemTransaction(PersistentBase a_object)
 {
     a_object.SetStateDirty();
     a_object.CacheDirty(_dirtyClassMetadata);
 }
Esempio n. 7
0
		public sealed override void SetDirtyInSystemTransaction(PersistentBase a_object)
		{
			a_object.SetStateDirty();
			a_object.CacheDirty(_dirtyClassMetadata);
		}