public void Intialize(CommonOrderRelation commonOrderRelation)
 {
     this.OpenOrderId = commonOrderRelation.OpenOrderId;
     this.OrderId = commonOrderRelation.OrderId;
     this.ClosedLot = commonOrderRelation.ClosedLot;
     this.RelationType = commonOrderRelation.RelationType;
     this.OpenOrderPrice = commonOrderRelation.OpenOrderPrice;
 }
 public void Update(OrderRelation orderRelation)
 {
     if (orderRelation != null)
     {
         this.OpenOrderId = orderRelation.OpenOrderId;
         this.OrderId = orderRelation.OrderId;
         this.ClosedLot = orderRelation.ClosedLot;
         this.RelationType = orderRelation.RelationType;
         this.OpenOrderPrice = orderRelation.OpenOrderPrice;
     }
 }