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