Exemplo n.º 1
0
        private void ProductionOrder_OnAfterSelect(object Sender, TableAdapterEventArgs e)
        {
            var        line  = new ProductionOrderLine(DBName);
            TableQuery query = new TableQuery(line);

            query.Where.Add(
                new QueryParam(
                    line.Collumns[ProductionOrderLine.FieldsName.DocEntry],
                    this.DocEntry));

            Lines = line.FillCollection <ProductionOrderLine>(query);
        }
Exemplo n.º 2
0
 public ProductionOrderLine(ProductionOrderLine pProductionOrderLine)
     : this()
 {
     this.CopyBy(pProductionOrderLine);
 }