Пример #1
0
 internal static void InitializeTradePolicy(DataSet ds, Dictionary <Guid, TradePolicy> dict)
 {
     Initialize(ds, "TradePolicy", dr =>
     {
         TradePolicy tradePolicy = new TradePolicy(new DBRow(dr));
         dict.Add(tradePolicy.ID, tradePolicy);
     });
 }
Пример #2
0
 internal TradePolicyDetail(XElement tradePolicyDetailNode, TradePolicy tradePolicy)
 {
     this.Update(tradePolicyDetailNode, tradePolicy);
 }
Пример #3
0
 //Update has key change, triggered by user modify
 internal void Update(XElement tradePolicyDetailNode, TradePolicy tradePolicy)
 {
     this.TradePolicy = tradePolicy;
     this.InternalUpdate(tradePolicyDetailNode);
 }
Пример #4
0
 internal TradePolicyDetail(IDBRow tradePolicyDetailRow, TradePolicy tradePolicy)
 {
     this.TradePolicy = tradePolicy;
     this.Update(tradePolicyDetailRow);
 }