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

            while (i.MoveNext())
            {
                PersistentBase dirty = (PersistentBase)i.Current;
                dirty.Write(SystemTransaction());
                dirty.NotCachedDirty();
            }
            _dirtyClassMetadata.Clear();
        }
Пример #2
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());
     }
 }
Пример #3
0
		public sealed override void SetDirtyInSystemTransaction(PersistentBase a_object)
		{
		}
Пример #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());
			}
		}
Пример #5
0
		public abstract void SetDirtyInSystemTransaction(PersistentBase a_object);
 public sealed override void SetDirtyInSystemTransaction(PersistentBase a_object)
 {
     a_object.SetStateDirty();
     a_object.CacheDirty(_dirtyClassMetadata);
 }
Пример #7
0
		public sealed override void SetDirtyInSystemTransaction(PersistentBase a_object)
		{
			a_object.SetStateDirty();
			a_object.CacheDirty(_dirtyClassMetadata);
		}