示例#1
0
        private void ProductTree_OnAfterSelect(object Sender, TableAdapterEventArgs e)
        {
            var        line  = new ProductTreeLine(DBName);
            TableQuery query = new TableQuery(line);

            query.Where.Add(
                new QueryParam(
                    line.Collumns[ProductTreeLine.FieldsName.Father],
                    this.Code));

            Lines = line.FillCollection <ProductTreeLine>(query);
        }
 public ProductTreeLine(ProductTreeLine pProductTreeLine)
     : this()
 {
     this.CopyBy(pProductTreeLine);
 }