public override bool Equals(object obj)
 {
     if (obj is Db4objects.Db4o.Tests.Common.Sampledata.AtomData)
     {
         Db4objects.Db4o.Tests.Common.Sampledata.AtomData other = (Db4objects.Db4o.Tests.Common.Sampledata.AtomData
                                                                   )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);
 }
 public AtomData(Db4objects.Db4o.Tests.Common.Sampledata.AtomData child)
 {
     this.child = child;
 }
 public AtomData(Db4objects.Db4o.Tests.Common.Sampledata.AtomData child, string name
                 ) : this(child)
 {
     this.name = name;
 }
Exemple #4
0
		public AtomData(Db4objects.Db4o.Tests.Common.Sampledata.AtomData child)
		{
			this.child = child;
		}