Example #1
0
 /// <summary>Collects the table lock request(s) for an Update operation</summary>
 /// <param name="adoTransaction">A list of locks required for this operation.</param>
 internal static void UpdateChildren(AdoTransaction adoTransaction)
 {
     // These table lock(s) are required for the 'Update' operation.
     adoTransaction.LockRequests.Add(new TableWriterRequest(ServerDataModel.Security));
     Account.UpdateChildren(adoTransaction);
     Allocation.Update(adoTransaction);
     BlockOrder.Update(adoTransaction);
     BlotterMap.Update(adoTransaction);
     Debt.UpdateChildren(adoTransaction);
     Currency.UpdateChildren(adoTransaction);
     Equity.UpdateChildren(adoTransaction);
     Position.Update(adoTransaction);
     PositionTarget.Update(adoTransaction);
     Price.Update(adoTransaction);
     ProposedOrder.Update(adoTransaction);
     TaxLot.Update(adoTransaction);
     Violation.Update(adoTransaction);
 }
Example #2
0
 /// <summary>Collects the table lock request(s) for an Update operation</summary>
 /// <param name="adoTransaction">A list of locks required for this operation.</param>
 public static void Update(AdoTransaction adoTransaction)
 {
     // These table lock(s) are required for the 'Update' operation.
     adoTransaction.LockRequests.Add(new TableWriterRequest(ServerDataModel.EquityType));
     Equity.UpdateChildren(adoTransaction);
 }