void StockTransfer_OnAfterSelect(object Sender, TableAdapterEventArgs e) { StockTransferLine line = new StockTransferLine(DBName); TableQuery query = new TableQuery( ); query.Where.Add( new QueryParam( line.Collumns[StockTransferLine.FieldsName.DocEntry], this.DocEntry)); Lines = line.FillCollection <StockTransferLine>(query); }
public StockTransferLine(StockTransferLine pStockTransferLine) : this() { this.CopyBy(pStockTransferLine); }