17 writes to ReadOnly
System.Data.Common (16)
System\Data\Common\DbDataAdapter.cs (2)
801dataColumn.ReadOnly = false; 806dataColumn.ReadOnly = true;
System\Data\Common\DbProviderFactories.cs (4)
85DataColumn nameColumn = new DataColumn(NameColumnName, typeof(string)) { ReadOnly = true }; 86DataColumn descriptionColumn = new DataColumn(DescriptionColumnName, typeof(string)) { ReadOnly = true }; 87DataColumn invariantNameColumn = new DataColumn(InvariantNameColumnName, typeof(string)) { ReadOnly = true }; 88DataColumn assemblyQualifiedNameColumn = new DataColumn(AssemblyQualifiedNameColumnName, typeof(string)) { ReadOnly = true };
System\Data\DataColumn.cs (2)
755ReadOnly = true; 760ReadOnly = oldReadOnly;
System\Data\DataTable.cs (1)
481dc.ReadOnly = info.GetBoolean(string.Format(formatProvider, "DataTable.DataColumn_{0}.ReadOnly", i));
System\Data\ProviderBase\SchemaMapping.cs (7)
216columns[i].ReadOnly = false; 236columns[i].ReadOnly = readOnly[i]; 674dataColumn.ReadOnly = true; 920dataColumn.ReadOnly = true; 966dataColumn.ReadOnly = true; 989dataColumn.ReadOnly = schemaRow.IsReadOnly; 1055chapterColumn.ReadOnly = true;
System.Data.Odbc (1)
System\Data\Odbc\OdbcDataReader.cs (1)
2214column.ReadOnly = true;
15 references to ReadOnly
System.Data.Common (15)
System\Data\Common\DBCommandBuilder.cs (2)
851if (row.IsReadOnly && dataColumn.ReadOnly) 940if (row.IsReadOnly && dataColumn.ReadOnly)
System\Data\Common\DbDataAdapter.cs (1)
797if (dataColumn.ReadOnly)
System\Data\DataColumn.cs (1)
752bool oldReadOnly = ReadOnly;
System\Data\DataColumnPropertyDescriptor.cs (1)
42public override bool IsReadOnly => Column.ReadOnly;
System\Data\DataRow.cs (4)
292if ((-1 != rowID) && column.ReadOnly) 313if ((-1 != rowID) && column.ReadOnly) 459if ((-1 != rowID) && column.ReadOnly) 479if ((-1 != rowID) && column.ReadOnly)
System\Data\DataTable.cs (3)
395info.AddValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.ReadOnly", i), Columns[i].ReadOnly); 5118if (dc.ReadOnly && !dc.Computed) 5289if (dc.ReadOnly && !dc.Computed)
System\Data\DataTableReader.cs (1)
807dr[IsReadOnly] = dc.ReadOnly;
System\Data\ProviderBase\SchemaMapping.cs (1)
204readOnly[i] = columns[i].ReadOnly;
System\Data\xmlsaver.cs (1)
1363if (col.ReadOnly)