protected void CreateBindingDescriptionSummaryDiffgramDataSet() { Logger.Instance.WriteMethodEntry(); try { var table = new DataTable("BindingDescriptionSummary") { Locale = CultureInfo.InvariantCulture }; var column1 = new DataColumn("Bound Object Type"); var column2 = new DataColumn("Bound Object Type Markup"); var column3 = new DataColumn("Bound Attribute Type"); var column4 = new DataColumn("Bound Attribute Type Markup"); var column5 = new DataColumn("Required"); table.Columns.Add(column1); table.Columns.Add(column2); table.Columns.Add(column3); table.Columns.Add(column4); table.Columns.Add(column5); table.PrimaryKey = new[] { column1, column3 }; var printTable = Documenter.GetPrintTable(); printTable.Rows.Add((new OrderedDictionary { { "TableIndex", 0 }, { "ColumnIndex", 0 }, { "Hidden", true }, { "SortOrder", 1 }, { "BookmarkIndex", -1 }, { "JumpToBookmarkIndex", -1 }, { "ChangeIgnored", false } }).Values.Cast <object>().ToArray()); printTable.Rows.Add((new OrderedDictionary { { "TableIndex", 0 }, { "ColumnIndex", 1 }, { "Hidden", false }, { "SortOrder", -1 }, { "BookmarkIndex", -1 }, { "JumpToBookmarkIndex", -1 }, { "ChangeIgnored", false } }).Values.Cast <object>().ToArray()); printTable.Rows.Add((new OrderedDictionary { { "TableIndex", 0 }, { "ColumnIndex", 2 }, { "Hidden", true }, { "SortOrder", 2 }, { "BookmarkIndex", -1 }, { "JumpToBookmarkIndex", -1 }, { "ChangeIgnored", false } }).Values.Cast <object>().ToArray()); printTable.Rows.Add((new OrderedDictionary { { "TableIndex", 0 }, { "ColumnIndex", 3 }, { "Hidden", false }, { "SortOrder", -1 }, { "BookmarkIndex", -1 }, { "JumpToBookmarkIndex", -1 }, { "ChangeIgnored", false } }).Values.Cast <object>().ToArray()); printTable.Rows.Add((new OrderedDictionary { { "TableIndex", 0 }, { "ColumnIndex", 4 }, { "Hidden", false }, { "SortOrder", -1 }, { "BookmarkIndex", -1 }, { "JumpToBookmarkIndex", -1 }, { "ChangeIgnored", false } }).Values.Cast <object>().ToArray()); var diffgramTable = Documenter.CreateDiffgramTable(table); this.DiffgramDataSet = new DataSet("BindingDescriptionSummary") { Locale = CultureInfo.InvariantCulture }; this.DiffgramDataSet.Tables.Add(diffgramTable); this.DiffgramDataSet.Tables.Add(printTable); Documenter.AddRowVisibilityStatusColumn(this.DiffgramDataSet); this.DiffgramDataSet.AcceptChanges(); this.DiffgramDataSets.Add(this.DiffgramDataSet); } finally { Logger.Instance.WriteMethodExit(); } }