Пример #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);
            }
Пример #2
0
 public PlacementRowChangeEvent(PlacementRow row, DataRowAction action)
 {
     this.eventRow    = row;
     this.eventAction = action;
 }
Пример #3
0
 public void RemovePlacementRow(PlacementRow row)
 {
     this.Rows.Remove(row);
 }
Пример #4
0
 public void AddPlacementRow(PlacementRow row)
 {
     this.Rows.Add(row);
 }