Exemplo n.º 1
0
            public PlacementRow AddPlacementRow(
                int PlacementId,
                int BlockOrderId,
                int BrokerId,
                int TimeInForceCode,
                int OrderTypeCode,
                long RowVersion,
                bool IsEmpty,
                bool IsValid,
                bool IsError,
                bool IsRouted,
                System.Decimal Quantity,
                System.Decimal Price1,
                System.Decimal Price2,
                System.DateTime CreatedTime,
                int CreatedLoginId,
                System.DateTime ModifiedTime,
                int ModifiedLoginId)
            {
                PlacementRow rowPlacementRow = ((PlacementRow)(this.NewRow()));

                rowPlacementRow.ItemArray = new object[] {
                    null,
                    PlacementId,
                    BlockOrderId,
                    BrokerId,
                    TimeInForceCode,
                    OrderTypeCode,
                    RowVersion,
                    IsEmpty,
                    IsValid,
                    IsError,
                    IsRouted,
                    Quantity,
                    Price1,
                    Price2,
                    CreatedTime,
                    CreatedLoginId,
                    ModifiedTime,
                    ModifiedLoginId
                };
                this.Rows.Add(rowPlacementRow);
                return(rowPlacementRow);
            }
Exemplo n.º 2
0
 public PlacementRowChangeEvent(PlacementRow row, DataRowAction action)
 {
     this.eventRow    = row;
     this.eventAction = action;
 }
Exemplo n.º 3
0
 public void RemovePlacementRow(PlacementRow row)
 {
     this.Rows.Remove(row);
 }
Exemplo n.º 4
0
 public void AddPlacementRow(PlacementRow row)
 {
     this.Rows.Add(row);
 }