コード例 #1
0
 public UpdateContractCommand(string clientName, ETypeOfContract type, decimal quantityTraded, decimal negotiatedValue, DateTime startedAt, int duration, byte[] file)
 {
     ClientName      = clientName;
     Type            = type;
     QuantityTraded  = quantityTraded;
     NegotiatedValue = negotiatedValue;
     StartedAt       = startedAt;
     Duration        = duration;
     File            = file;
 }
コード例 #2
0
 public Contract(string clientName, ETypeOfContract type, decimal quantityTraded, decimal negotiatedValue, DateTime startedAt, int duration, byte[] file, Guid createdBy)
 {
     ClientName      = clientName;
     Type            = type;
     QuantityTraded  = quantityTraded;
     NegotiatedValue = negotiatedValue;
     StartedAt       = startedAt;
     Duration        = duration;
     File            = file;
     CreatedBy       = createdBy;
 }