1 write to table
System.Data (1)
fx\src\data\System\Data\DataColumn.cs (1)
1136this.table = table;
81 references to table
System.Data (81)
fx\src\data\System\Data\DataColumn.cs (74)
207if (table != null) { 208if (!value && table.EnforceConstraints) 399if (table != null) { 403table.Columns.RegisterColumnName(value, this); 405table.Columns.UnregisterName(_columnName); 411if (table != null) { 412table.Columns.OnColumnPropertyChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, this)); 419if (table != null) { 420table.Columns.OnColumnPropertyChanged(new CollectionChangeEventArgs(CollectionChangeAction.Refresh, this)); 443return ((null != table) ? table.FormatProvider : CultureInfo.CurrentCulture); 450return ((null != table) ? table.Locale : CultureInfo.CurrentCulture); 545if (table != null && IsInRelation()) { 715this.DataExpression.Bind(this.table); 744DataExpression testExpression = new DataExpression(this.table, value, this.dataType); 756if (table != null) { 757for (int i = 0; i < table.Constraints.Count; i++) { 758if (table.Constraints[i].ContainsColumn(this)) { 759throw ExceptionBuilder.ExpressionAndConstraint(this, table.Constraints[i]); 776if (this.table != null) { 788for (int i = 0; i < table.RecordCapacity; i++) { 793this.table.EvaluateExpressions(this); 796this.table.ResetInternalIndexes(this); 797this.table.EvaluateDependentExpressions(this); 810for (int i = 0; i < table.RecordCapacity; i++) { 815this.table.EvaluateExpressions(this); 817this.table.ResetInternalIndexes(this); 818this.table.EvaluateDependentExpressions(this); 958if (((oldValue < 0) || (value < oldValue)) && (null != table) && table.EnforceConstraints) { 1034table.Columns.MoveTo(this, ordinal); 1042UniqueConstraint key = table.Constraints.FindKeyConstraint(this); 1044table.Constraints.Remove(key); 1058table.Constraints.Add(key); 1095sortIndex = table.GetIndex(indexDesc, DataViewRowState.CurrentRows, (IFilter)null); 1115return table; 1123if (this.table != table) { 1131if (Unique && this.table != null) { 1142return table.recordManager[index]; 1150table.recordManager.VerifyRecord(record); 1156table.recordManager.VerifyRecord(record); 1160Debug.Assert(null != this.table, "storage with no DataTable on column"); 1190Debug.Assert(null != this.table, "storage with no DataTable on column"); 1234if (table != null) { 1244table.Constraints.CanRemove(oldConstraint, true); 1250if (table != null) { 1256Debug.Assert(table.Constraints.FindKeyConstraint(this) == null, "Should not be a duplication constraint in collection"); 1257table.Constraints.Add(constraint); 1261table.Constraints.Remove(oldConstraint); 1317if (value == MappingType.SimpleContent && table != null) { 1324if (table.XmlText != null && table.XmlText != this) 1326if (table.ElementColumnCount > threshold) 1332if (table != null) { 1334table.xmlText = null; 1337table.ElementColumnCount++; 1339table.ElementColumnCount--; 1345if (table != null) { 1346table.XmlText = this; 1364if (table.UpdatingCurrent(row, action)) { 1403foreach (DataRow dr in this.table.Rows) { 1602DataRelationCollection rels = table.ParentRelations; 1612rels = table.ChildRelations; 1758this.table.AddDependentColumn(expressionColumn); 1765this.table.RemoveDependentColumn(expressionColumn); 1776if (col.table != this.table) { 1777this.table.RemoveDependentColumn(this); 1780this.table.RemoveDependentColumn(this); 1789if (col.table != this.table) { 1790this.table.AddDependentColumn(this); 1793this.table.AddDependentColumn(this);
fx\src\data\System\Data\DataColumnCollection.cs (3)
315if (column.table == table) 317if (column.table != null) 431if (column.table != table) {
fx\src\data\System\Data\DataTable.cs (4)
6259int count = column.table.Rows.Count; 6264DataRow row = column.table.Rows[j]; 6279DataRow row = column.table.Rows[j]; 6302if ((dc.table != null) && !Object.ReferenceEquals(column, dc)) { // SQLBU 502736