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