6 writes to ColumnName
System.Data (5)
fx\src\data\System\Data\DataColumn.cs (1)
1490
clone.
ColumnName
= ColumnName;
fx\src\data\System\Data\DataColumnCollection.cs (1)
321
column.
ColumnName
= AssignName();
fx\src\data\System\Data\DataTable.cs (1)
427
dc.
ColumnName
= info.GetString(String.Format(formatProvider, "DataTable.DataColumn_{0}.ColumnName", i));
fx\src\data\System\Data\XDRSchema.cs (1)
641
table.Columns[0].
ColumnName
= tbName + "_Column";
fx\src\data\System\Data\XMLSchema.cs (1)
1287
table.Columns[0].
ColumnName
= colName;
System.Web.Entity (1)
System\Data\WebControls\EntityDataSourceViewSchema.cs (1)
100
column.
ColumnName
= property.Name;
165 references to ColumnName
System.Data (133)
fx\src\data\Microsoft\SqlServer\Server\MetadataUtilsSmi.cs (5)
636
throw SQL.UnsupportedColumnTypeForSqlProvider(column.
ColumnName
, column.DataType.Name);
641
throw SQL.InvalidColumnMaxLength(column.
ColumnName
, maxLength);
672
throw SQL.InvalidTableDerivedPrecisionForTvp(column.
ColumnName
, precision);
706
throw SQL.InvalidTableDerivedPrecisionForTvp(column.
ColumnName
, precision);
728
column.
ColumnName
,
fx\src\data\System\Data\CodeGen\datacache.cs (7)
206
typedName = FixIdName(column.
ColumnName
);
578
Str(column.
ColumnName
),
624
tableInitVars.Statements.Add(Assign(codeField, Indexer(Property(This(),"Columns"),Str(column.
ColumnName
))));
659
if (column.Caption != column.
ColumnName
) {
822
errorList.Add(Res.GetString(Res.CodeGen_TypeCantBeNull, col.
ColumnName
, col.DataType.Name));
835
errorList.Add(Res.GetString(Res.CodeGen_NoCtor0, col.
ColumnName
, col.DataType.Name));
869
errorList.Add(Res.GetString(Res.CodeGen_NoCtor1, col.
ColumnName
, col.DataType.Name));
fx\src\data\System\Data\Common\AdapterUtil.cs (1)
992
return DataMapping(Res.GetString(Res.ADP_ColumnSchemaMismatch, srcColumn, srcType.Name, column.
ColumnName
, column.DataType.Name));
fx\src\data\System\Data\DataColumn.cs (19)
433
this.encodedColumnName = XmlConvert.EncodeLocalName(this.
ColumnName
);
573
throw ExceptionBuilder.DefaultValueDataType(
ColumnName
, DefaultValue.GetType(), value, ex);
576
throw ExceptionBuilder.DefaultValueDataType(
ColumnName
, DefaultValue.GetType(), value, ex);
582
throw ExceptionBuilder.CannotSetSimpleContentType(
ColumnName
, value);
698
throw ExceptionBuilder.DefaultValueColumnDataType(
ColumnName
, newDefaultValue.GetType(), DataType, ex);
996
throw ExceptionBuilder.CannotChangeNamespace(this.
ColumnName
);
1322
throw ExceptionBuilder.CannotSetSimpleContent(
ColumnName
, this.dataType);
1327
throw ExceptionBuilder.CannotAddColumn4(this.
ColumnName
);
1399
throw ExceptionBuilder.NullKeyValues(
ColumnName
);
1408
throw ExceptionBuilder.NullKeyValues(
ColumnName
);
1413
throw ExceptionBuilder.NullKeyValues(
ColumnName
);
1424
throw ExceptionBuilder.NullValues(
ColumnName
);
1433
throw ExceptionBuilder.NonUniqueValues(
ColumnName
);
1490
clone.ColumnName =
ColumnName
;
1638
errorText = ExceptionBuilder.MaxLengthViolationText(this.
ColumnName
);
1648
errorText = ExceptionBuilder.MaxLengthViolationText(this.
ColumnName
);
1664
string errorText = ExceptionBuilder.NotAllowDBNullViolationText(this.
ColumnName
);
1706
return this.
ColumnName
;
1708
return this.
ColumnName
+ " + " + this.Expression;
fx\src\data\System\Data\DataColumnCollection.cs (9)
148
throw ExceptionBuilder.CannotAddColumn4(column.
ColumnName
);
316
throw ExceptionBuilder.CannotAddColumn1(column.
ColumnName
);
318
throw ExceptionBuilder.CannotAddColumn2(column.
ColumnName
);
320
if (column.
ColumnName
.Length == 0) {
323
RegisterColumnName(column.
ColumnName
, column);
349
UnregisterName(column.
ColumnName
);
410
UnregisterName(column.
ColumnName
);
495
throw ExceptionBuilder.CannotRemoveExpression(col.
ColumnName
, col.Expression);
657
NamesEqual(column.
ColumnName
, name, false, table.Locale) != 0 ) {
fx\src\data\System\Data\DataColumnPropertyDescriptor.cs (1)
19
internal DataColumnPropertyDescriptor(DataColumn dataColumn) : base(dataColumn.
ColumnName
, null) {
fx\src\data\System\Data\DataException.cs (10)
530
columnNames += columns[i].
ColumnName
+ (i < columns.Length - 1 ? ", " : "");
535
return Res.GetString(Res.DataConstraint_ViolationValue, columns[0].
ColumnName
, Convert.ToString(values[0], null));
654
return _Argument(Res.GetString(Res.DataColumn_ExpressionAndConstraint, column.
ColumnName
, constraint.ConstraintName));
658
return _Argument(Res.GetString(Res.DataColumn_ExpressionInConstraint, column.
ColumnName
));
689
return _Argument(innerException.Message + Res.GetString(Res.DataColumn_SetFailed, value.ToString(), column.
ColumnName
, type.Name), innerException);
693
return _Argument(Res.GetString(Res.DataColumn_CannotSetToNull, column.
ColumnName
));
697
return _Argument(Res.GetString(Res.DataColumn_LongerThanMaxLength, column.
ColumnName
));
701
return _Argument(Res.GetString(Res.DataColumn_CannotSetMaxLength, column.
ColumnName
, value.ToString(CultureInfo.InvariantCulture)));
705
return _Argument(Res.GetString(Res.DataColumn_CannotSetMaxLength2, column.
ColumnName
));
721
return _Argument(Res.GetString(Res.DataColumn_HasToBeStringType, column.
ColumnName
));
fx\src\data\System\Data\DataKey.cs (2)
41
throw ExceptionBuilder.KeyDuplicateColumns(columns[i].
ColumnName
);
180
values[i] = columns[i].
ColumnName
;
fx\src\data\System\Data\DataRelation.cs (6)
706
parentColumns[i] = parent.Columns[ParentKey.ColumnsReference[i].
ColumnName
];
707
childColumns[i] = child.Columns[ChildKey.ColumnsReference[i].
ColumnName
];
786
if ((col.
ColumnName
== generatedname) || (col.
ColumnName
== generatedname+"_0"))
790
if ((col.
ColumnName
== generatedname) || (col.
ColumnName
== generatedname+"_0"))
fx\src\data\System\Data\DataRow.cs (7)
279
throw ExceptionBuilder.ReadOnly(column.
ColumnName
);
294
throw ExceptionBuilder.ColumnNotInTheTable(column.
ColumnName
, _table.TableName);
298
throw ExceptionBuilder.ReadOnly(column.
ColumnName
);
418
throw ExceptionBuilder.ReadOnly(column.
ColumnName
);
432
throw ExceptionBuilder.ColumnNotInTheTable(column.
ColumnName
, _table.TableName);
436
throw ExceptionBuilder.ReadOnly(column.
ColumnName
);
580
throw ExceptionBuilder.ColumnNotInTheTable(column.
ColumnName
, _table.TableName);
fx\src\data\System\Data\DataRowView.cs (1)
161
throw ExceptionBuilder.SetFailed(column.
ColumnName
);
fx\src\data\System\Data\DataSet.cs (2)
1163
ds.Tables[table.TableName, table.Namespace].Columns[col.
ColumnName
].Expression = col.Expression;
1213
rowBytes += ((table.Columns[j].
ColumnName
.Length + 4) << 2);
fx\src\data\System\Data\DataTable.cs (11)
351
info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.ColumnName", i), Columns[i].
ColumnName
);
1380
column._hashCode = GetSpecialHashCode(column.
ColumnName
);
1949
if (value != Columns[value.
ColumnName
])
2097
DataColumn col = targetRow.Table.Columns[cols[i].
ColumnName
];
2165
if (targetTable.Columns[dc.
ColumnName
] == null) {
2243
clone.Columns[clmns[i].
ColumnName
].Expression = clmns[i].Expression;
2768
DataColumn col = targetRow.Table.Columns[cols[i].
ColumnName
];
2821
builder.Append(field.Column.
ColumnName
);
2984
DataColumn col = targetRow.Table.Columns[cols[i].
ColumnName
];
4376
string keyName = XMLSchema.GenUniqueColumnName(parentKey.
ColumnName
, this);
5854
this.DataSet.Tables[tempTable.TableName, tempTable.Namespace].Columns[dc.
ColumnName
].Expression = dc.Expression;
fx\src\data\System\Data\DataTableReader.cs (3)
526
return (currentDataTable.Columns[ordinal].
ColumnName
);
680
dr[ColumnName] = dc.
ColumnName
;
715
dr[BaseColumnName] = dc.
ColumnName
;
fx\src\data\System\Data\DataView.cs (2)
1412
propertyName = (null != col) ? col.
ColumnName
: String.Empty;
1696
columnNames[i] = Table.Columns[i].
ColumnName
;
fx\src\data\System\Data\Filter\NameNode.cs (1)
59
name = column.
ColumnName
;
fx\src\data\System\Data\ForeignKeyConstraint.cs (4)
643
iDest = table.Columns.IndexOf(src.
ColumnName
);
649
iDest = relatedTable.Columns.IndexOf(src.
ColumnName
);
678
iDest = destination.Columns.IndexOf(src.
ColumnName
);
684
iDest = destination.Columns.IndexOf(src.
ColumnName
);
fx\src\data\System\Data\Merger.cs (20)
96
DataColumn targetColumn = targetTable.Columns[dc.
ColumnName
];
303
DataColumn dest = (targetTable.Columns.Contains(src.
ColumnName
, true)) ? targetTable.Columns[src.
ColumnName
] : null;
311
dataSet.RaiseMergeFailed(targetTable, Res.GetString(Res.DataMerge_MissingColumnDefinition, table.TableName, src.
ColumnName
), missingSchemaAction);
313
throw ExceptionBuilder.MergeFailed(Res.GetString(Res.DataMerge_MissingColumnDefinition, table.TableName, src.
ColumnName
));
320
dataSet.RaiseMergeFailed(targetTable, Res.GetString(Res.DataMerge_DataTypeMismatch, src.
ColumnName
), MissingSchemaAction.Error);
322
throw ExceptionBuilder.MergeFailed(Res.GetString(Res.DataMerge_DataTypeMismatch, src.
ColumnName
));
334
targetTable.Columns[i].Expression = table.Columns[targetTable.Columns[i].
ColumnName
].Expression;
347
key[i] = targetTable.Columns[tablePKey[i].
ColumnName
];
357
if (String.Compare(targetPKey[i].
ColumnName
, tablePKey[i].
ColumnName
, false, targetTable.Locale) != 0) {
359
Res.GetString(Res.DataMerge_PrimaryKeyColumnsMismatch, targetPKey[i].
ColumnName
, tablePKey[i].
ColumnName
),
456
if (0 != string.Compare(dest.
ColumnName
, src.
ColumnName
, false, dest.Table.Locale)) {
466
if (0 != string.Compare(dest.
ColumnName
, src.
ColumnName
, false, dest.Table.Locale)) {
501
parentColumns[i] = parent.Columns[relation.ParentKey.ColumnsReference[i].
ColumnName
];
502
childColumns[i] = child.Columns[relation.ChildKey.ColumnsReference[i].
ColumnName
];
550
srcColumns[j] = src.Columns[dstColumns[j].
ColumnName
];
fx\src\data\System\Data\ProviderBase\DbMetaDataFactory.cs (2)
229
newDestinationColumn = new DataColumn(sourceColumn.
ColumnName
,sourceColumn.DataType);
452
string sourceColumnName = sourceColumn.
ColumnName
;
fx\src\data\System\Data\ProviderBase\SchemaMapping.cs (1)
1031
string name = /*parentChapterColumn.ColumnName + "_" +*/ chapterColumn.
ColumnName
; // MDAC 72815
fx\src\data\System\Data\RecordManager.cs (1)
203
DataColumn srcColumn = src.Columns[dstColumn.
ColumnName
];
fx\src\data\System\Data\UniqueConstraint.cs (2)
275
iDest = table.Columns.IndexOf(src.
ColumnName
);
297
int iDest = table.Columns.IndexOf(src.
ColumnName
);
fx\src\data\System\Data\xmlsaver.cs (6)
1166
if (col.Caption != col.
ColumnName
)
1387
if ((col.
ColumnName
== generatedname) || (col.
ColumnName
== generatedname+"_0"))
1408
if ((col.
ColumnName
== generatedname) || (col.
ColumnName
== generatedname+"_0"))
1610
sc.SetAttribute(Keywords.MSD_COLUMNNAME, Keywords.MSDNS, colTxt.
ColumnName
);
fx\src\data\System\Data\XMLSchema.cs (2)
1961
throw ExceptionBuilder.ColumnTypeConflict(column.
ColumnName
);
2121
throw ExceptionBuilder.ColumnTypeConflict(column.
ColumnName
);
fx\src\data\System\Data\XmlToDatasetMap.cs (6)
199
if (col.
ColumnName
.StartsWith("xml", StringComparison.OrdinalIgnoreCase)) {
208
string _columnLocalName = XmlConvert.EncodeLocalName(col.
ColumnName
);
231
if (col.
ColumnName
.StartsWith("xml", StringComparison.OrdinalIgnoreCase)) {
463
Debug.Assert(col.
ColumnName
.StartsWith("xml", StringComparison.OrdinalIgnoreCase), "column name should start with xml");
466
if ('x' == col.
ColumnName
[0]) {
473
tempColumnName += col.
ColumnName
.Substring(1);
fx\src\data\System\NewXml\XPathNodePointer.cs (2)
1291
if ( curCol.Namespace == s_strReservedXmlns && curCol.
ColumnName
== name ) {
1344
if ( curCol.Namespace == s_strReservedXmlns && !DuplicateNS( be, curCol.
ColumnName
) ) {
System.Data.DataSetExtensions (1)
System\Data\DataTableExtensions.cs (1)
166
table.Columns.Add(column.
ColumnName
, column.DataType);
System.Data.Entity.Design (25)
System\Data\Entity\Design\SSDLGenerator\RelationshipDetailsRow.cs (12)
57
throw EDesignUtil.StonglyTypedAccessToNullValue(_tableRelationshipDetails.PKCatalogColumn.
ColumnName
, _tableRelationshipDetails.TableName, e);
79
throw EDesignUtil.StonglyTypedAccessToNullValue(_tableRelationshipDetails.PKSchemaColumn.
ColumnName
, _tableRelationshipDetails.TableName, e);
101
throw EDesignUtil.StonglyTypedAccessToNullValue(_tableRelationshipDetails.PKTableColumn.
ColumnName
, _tableRelationshipDetails.TableName, e);
123
throw EDesignUtil.StonglyTypedAccessToNullValue(_tableRelationshipDetails.PKColumnColumn.
ColumnName
, _tableRelationshipDetails.TableName, e);
145
throw EDesignUtil.StonglyTypedAccessToNullValue(_tableRelationshipDetails.FKCatalogColumn.
ColumnName
, _tableRelationshipDetails.TableName, e);
167
throw EDesignUtil.StonglyTypedAccessToNullValue(_tableRelationshipDetails.FKSchemaColumn.
ColumnName
, _tableRelationshipDetails.TableName, e);
189
throw EDesignUtil.StonglyTypedAccessToNullValue(_tableRelationshipDetails.FKTableColumn.
ColumnName
, _tableRelationshipDetails.TableName, e);
211
throw EDesignUtil.StonglyTypedAccessToNullValue(_tableRelationshipDetails.FKColumnColumn.
ColumnName
, _tableRelationshipDetails.TableName, e);
233
throw EDesignUtil.StonglyTypedAccessToNullValue(_tableRelationshipDetails.OrdinalColumn.
ColumnName
, _tableRelationshipDetails.TableName, e);
255
throw EDesignUtil.StonglyTypedAccessToNullValue(_tableRelationshipDetails.RelationshipNameColumn.
ColumnName
, _tableRelationshipDetails.TableName, e);
277
throw EDesignUtil.StonglyTypedAccessToNullValue(_tableRelationshipDetails.RelationshipIdColumn.
ColumnName
, _tableRelationshipDetails.TableName, e);
298
throw EDesignUtil.StonglyTypedAccessToNullValue(_tableRelationshipDetails.RelationshipIsCascadeDeleteColumn.
ColumnName
, _tableRelationshipDetails.TableName, e);
System\Data\Entity\Design\SSDLGenerator\TableDetailsRow.cs (13)
57
throw EDesignUtil.StonglyTypedAccessToNullValue(_tableTableDetails.CatalogColumn.
ColumnName
, _tableTableDetails.TableName, e);
79
throw EDesignUtil.StonglyTypedAccessToNullValue(_tableTableDetails.SchemaColumn.
ColumnName
, _tableTableDetails.TableName, e);
101
throw EDesignUtil.StonglyTypedAccessToNullValue(_tableTableDetails.TableNameColumn.
ColumnName
, _tableTableDetails.TableName, e);
123
throw EDesignUtil.StonglyTypedAccessToNullValue(_tableTableDetails.ColumnNameColumn.
ColumnName
, _tableTableDetails.TableName, e);
145
throw EDesignUtil.StonglyTypedAccessToNullValue(_tableTableDetails.IsNullableColumn.
ColumnName
, _tableTableDetails.TableName, e);
167
throw EDesignUtil.StonglyTypedAccessToNullValue(_tableTableDetails.DataTypeColumn.
ColumnName
, _tableTableDetails.TableName, e);
189
throw EDesignUtil.StonglyTypedAccessToNullValue(_tableTableDetails.MaximumLengthColumn.
ColumnName
, _tableTableDetails.TableName, e);
211
throw EDesignUtil.StonglyTypedAccessToNullValue(_tableTableDetails.DateTimePrecisionColumn.
ColumnName
, _tableTableDetails.TableName, e);
234
throw EDesignUtil.StonglyTypedAccessToNullValue(_tableTableDetails.PrecisionColumn.
ColumnName
, _tableTableDetails.TableName, e);
256
throw EDesignUtil.StonglyTypedAccessToNullValue(_tableTableDetails.ScaleColumn.
ColumnName
, _tableTableDetails.TableName, e);
278
throw EDesignUtil.StonglyTypedAccessToNullValue(_tableTableDetails.IsIdentityColumn.
ColumnName
, _tableTableDetails.TableName, e);
300
throw EDesignUtil.StonglyTypedAccessToNullValue(_tableTableDetails.IsServerGeneratedColumn.
ColumnName
, _tableTableDetails.TableName, e);
322
throw EDesignUtil.StonglyTypedAccessToNullValue(_tableTableDetails.IsPrimaryKeyColumn.
ColumnName
, _tableTableDetails.TableName, e);
System.Web (1)
Handlers\TraceHandler.cs (1)
532
AddHeaderCell(trow, SR.GetString(((DataColumn) en.Current).
ColumnName
));
System.Web.DataVisualization (1)
Common\General\Chart.cs (1)
570
names.Add(column.
ColumnName
);
System.Web.Entity (1)
System\Data\WebControls\EntityDataSourceViewSchema.cs (1)
84
if (keyNames != null && keyNames.Contains(column.
ColumnName
))
System.Web.Mobile (2)
UI\MobileControls\Design\ListDesigner.cs (2)
340
_list.DataTextField = _dummyDataTable.Columns[0].
ColumnName
;
341
_list.DataValueField = _dummyDataTable.Columns[1].
ColumnName
;
System.Windows.Forms.DataVisualization (1)
Common\General\Chart.cs (1)
570
names.Add(column.
ColumnName
);