Ejemplo n.º 1
0
 public override bool Equals(object p)
 {
     Activate(ActivationPurpose.Read);
     if (p == null)
     {
         return(false);
     }
     if (p.GetType() != this.GetType())
     {
         return(false);
     }
     Db4objects.Db4o.Tests.Jre5.Collections.Product rhs = (Db4objects.Db4o.Tests.Jre5.Collections.Product
                                                           )p;
     return(rhs._code == _code);
 }
Ejemplo n.º 2
0
 public OrderItem(Db4objects.Db4o.Tests.Jre5.Collections.Product product, int quantity
                  )
 {
     _product  = product;
     _quantity = quantity;
 }
Ejemplo n.º 3
0
		public OrderItem(Db4objects.Db4o.Tests.Jre5.Collections.Product product, int quantity
			)
		{
			_product = product;
			_quantity = quantity;
		}