Exemple #1
0
 /// <summary>
 /// 添加TempNode到双亲表(默认情况是将entry.DataSerialization赋给tempRow[Conductor.TableBuilder.DataSerialization]列)
 /// </summary>
 /// <param name="treeTableBuilder">双亲表Builder</param>
 /// <param name="NodeLevel">分组等级(从0开始)</param>
 /// <param name="tempRow">双亲表目标行</param>
 /// <param name="entry">待添加TempNode对象</param>
 public virtual void onAddNodeEntryToDataRow(TreeTableBuilder treeTableBuilder, int NodeLevel, DataRow tempRow, TempNodeEntry entry)
 {
     tempRow[Conductor.TableBuilder.DataSerialization] = entry.DataSerialization;
 }
Exemple #2
0
 /// <summary>
 /// 基于双亲表示法结构的树状帮助类
 /// </summary>
 /// <param name="table">双亲表</param>
 /// <param name="builder">表结构</param>
 public TreeTableUtils(DataTable table, TreeTableBuilder builder)
 {
     this.table   = table;
     this.builder = builder;
 }