22 writes to AllowDBNull
System.Data.Common (22)
System\Data\DataTable.cs (3)
475dc.AllowDBNull = info.GetBoolean(string.Format(formatProvider, "DataTable.DataColumn_{0}.AllowDBNull", i)); 1740key.ColumnsReference[i].AllowDBNull = false; 4851key.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)
1435key[i].AllowDBNull = false; 2030column.AllowDBNull = isNillable; 2037column.AllowDBNull = false; 2073column.AllowDBNull = true; 2144column.AllowDBNull = isNillable; 2151column.AllowDBNull = false; 2176column.AllowDBNull = true; 2310column.AllowDBNull = !(attrib.Use == XmlSchemaUse.Required); 2318column.AllowDBNull = true; 2328column.AllowDBNull = GetBooleanAttribute(attr, Keywords.MSD_ALLOWDBNULL, true); 2496column.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)
1450if (!AllowDBNull)
System\Data\DataSet.cs (1)
727if (!column.AllowDBNull)
System\Data\DataTable.cs (3)
389info.AddValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.AllowDBNull", i), Columns[i].AllowDBNull); 1337if (!column.AllowDBNull) 3475if (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)
476if (c.AllowDBNull) 832if (c.AllowDBNull && c.ColumnMapping != MappingType.Hidden && !c.AutoIncrement) 1100if (c.AllowDBNull && c.ColumnMapping != MappingType.Hidden && !c.AutoIncrement)
System\Data\xmlsaver.cs (4)
1460if (!col.AllowDBNull) 1477if (col.ColumnMapping == MappingType.Attribute && !col.AllowDBNull) 1526minOccurs = (col.AllowDBNull) ? 0 : 1; 1878if (colTxt.AllowDBNull)