22 writes to AllowDBNull
System.Data.Common (22)
System\Data\DataTable.cs (3)
470dc.AllowDBNull = info.GetBoolean(string.Format(formatProvider, "DataTable.DataColumn_{0}.AllowDBNull", i)); 1735key.ColumnsReference[i].AllowDBNull = false; 4846key.AllowDBNull = false;
System\Data\ProviderBase\SchemaMapping.cs (7)
672dataColumn.AllowDBNull = false; 918dataColumn.AllowDBNull = false; 953dataColumn.AllowDBNull = false; 970dataColumn.AllowDBNull = false; 981dataColumn.AllowDBNull = false; 988dataColumn.AllowDBNull = schemaRow.AllowDBNull; 1056chapterColumn.AllowDBNull = false;
System\Data\XDRSchema.cs (1)
459column.AllowDBNull = (minOccurs == 0) || bNullable;
System\Data\XMLSchema.cs (11)
1429key[i].AllowDBNull = false; 2021column.AllowDBNull = isNillable; 2028column.AllowDBNull = false; 2064column.AllowDBNull = true; 2134column.AllowDBNull = isNillable; 2141column.AllowDBNull = false; 2166column.AllowDBNull = true; 2299column.AllowDBNull = !(attrib.Use == XmlSchemaUse.Required); 2307column.AllowDBNull = true; 2317column.AllowDBNull = GetBooleanAttribute(attr, Keywords.MSD_ALLOWDBNULL, true); 2484column.AllowDBNull = FromInference || (elem.MinOccurs == 0) || elem.IsNillable;
15 references to AllowDBNull
PresentationFramework-SystemData (1)
SystemDataExtension.cs (1)
207return (column != null) && column.AllowDBNull;
System.Data.Common (14)
System\Data\DataColumn.cs (1)
1449if (!AllowDBNull)
System\Data\DataSet.cs (1)
717if (!column.AllowDBNull)
System\Data\DataTable.cs (3)
384info.AddValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.AllowDBNull", i), Columns[i].AllowDBNull); 1332if (!column.AllowDBNull) 3470if (c.AllowDBNull)
System\Data\DataTableReader.cs (1)
806dr[AllowDBNull] = dc.AllowDBNull;
System\Data\ProviderBase\SchemaMapping.cs (1)
1027if (isPrimary && dataColumn.AllowDBNull)
System\Data\XmlDataLoader.cs (3)
474if (c.AllowDBNull) 826if (c.AllowDBNull && c.ColumnMapping != MappingType.Hidden && !c.AutoIncrement) 1093if (c.AllowDBNull && c.ColumnMapping != MappingType.Hidden && !c.AutoIncrement)
System\Data\xmlsaver.cs (4)
1452if (!col.AllowDBNull) 1469if (col.ColumnMapping == MappingType.Attribute && !col.AllowDBNull) 1518minOccurs = (col.AllowDBNull) ? 0 : 1; 1868if (colTxt.AllowDBNull)