Beispiel #1
0
 public override bool Equals(object obj)
 {
     if (obj is Db4objects.Db4o.Tests.Common.Persistent.Atom)
     {
         Db4objects.Db4o.Tests.Common.Persistent.Atom other = (Db4objects.Db4o.Tests.Common.Persistent.Atom
                                                               )obj;
         if (name == null)
         {
             if (other.name != null)
             {
                 return(false);
             }
         }
         else
         {
             if (!name.Equals(other.name))
             {
                 return(false);
             }
         }
         if (child != null)
         {
             return(child.Equals(other.child));
         }
         return(other.child == null);
     }
     return(false);
 }
Beispiel #2
0
		public Atom(Db4objects.Db4o.Tests.Common.Persistent.Atom child)
		{
			this.child = child;
		}
Beispiel #3
0
 public Atom(Db4objects.Db4o.Tests.Common.Persistent.Atom child, string name) : this
     (child)
 {
     this.name = name;
 }
Beispiel #4
0
 public Atom(Db4objects.Db4o.Tests.Common.Persistent.Atom child)
 {
     this.child = child;
 }