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); }
public OrderItem(Db4objects.Db4o.Tests.Jre5.Collections.Product product, int quantity ) { _product = product; _quantity = quantity; }
public OrderItem(Db4objects.Db4o.Tests.Jre5.Collections.Product product, int quantity ) { _product = product; _quantity = quantity; }