Example #1
0
 private bool InternalUpdate(XElement dealingPolicyDetailNode, DealingPolicy dealingPolicy)
 {
     this.instrumentId = dealingPolicyDetailNode.AttrToGuid("InstrumentID");
     base.Update(dealingPolicyDetailNode);
     this.AddTo(dealingPolicy);
     return(true);
 }
Example #2
0
        internal void Update(IDBRow dealingPolicyDetailRow, DealingPolicy dealingPolicy)
        {
            this.instrumentId = (Guid)dealingPolicyDetailRow["InstrumentID"];
            base.Update(dealingPolicyDetailRow);

            this.AddTo(dealingPolicy);
        }
Example #3
0
        private void AddTo(DealingPolicy dealingPolicy)
        {
            this.dealingPolicy = dealingPolicy;

            if (this.dealingPolicy != null)
            {
                this.dealingPolicy.Add(this);
            }
        }
Example #4
0
 internal void Update(XElement dealingPolicyDetailNode, DealingPolicy dealingPolicy)
 {
     this.dealingPolicy.Remove(this);
     this.InternalUpdate(dealingPolicyDetailNode, dealingPolicy);
 }
Example #5
0
 internal DealingPolicyDetail(XElement dealingPolicyDetailNode, DealingPolicy dealingPolicy)
 {
     this.InternalUpdate(dealingPolicyDetailNode, dealingPolicy);
 }
Example #6
0
 internal DealingPolicyDetail(IDBRow dealingPolicyDetailRow, DealingPolicy dealingPolicy)
 {
     this.Update(dealingPolicyDetailRow, dealingPolicy);
 }