36 types derived from DataStorage
System.Data (36)
fx\src\data\System\Data\Common\BigIntegerStorage.cs (1)
16internal sealed class BigIntegerStorage : DataStorage {
fx\src\data\System\Data\Common\BooleanStorage.cs (1)
16internal sealed class BooleanStorage : DataStorage {
fx\src\data\System\Data\Common\ByteStorage.cs (1)
16internal sealed class ByteStorage : DataStorage {
fx\src\data\System\Data\Common\CharStorage.cs (1)
16internal sealed class CharStorage : DataStorage {
fx\src\data\System\Data\Common\DateTimeOffsetStorage.cs (1)
15internal sealed class DateTimeOffsetStorage : DataStorage {
fx\src\data\System\Data\Common\DateTimeStorage.cs (1)
16internal sealed class DateTimeStorage : DataStorage {
fx\src\data\System\Data\Common\DecimalStorage.cs (1)
16internal sealed class DecimalStorage : DataStorage {
fx\src\data\System\Data\Common\DoubleStorage.cs (1)
16internal sealed class DoubleStorage : DataStorage {
fx\src\data\System\Data\Common\Int16Storage.cs (1)
16internal sealed class Int16Storage : DataStorage {
fx\src\data\System\Data\Common\Int32Storage.cs (1)
16internal sealed class Int32Storage : DataStorage {
fx\src\data\System\Data\Common\Int64Storage.cs (1)
16internal sealed class Int64Storage : DataStorage {
fx\src\data\System\Data\Common\ObjectStorage.cs (1)
20internal sealed class ObjectStorage : DataStorage {
fx\src\data\System\Data\Common\SByteStorage.cs (1)
16internal sealed class SByteStorage : DataStorage {
fx\src\data\System\Data\Common\SingleStorage.cs (1)
16internal sealed class SingleStorage : DataStorage {
fx\src\data\System\Data\Common\SQLTypes\SQLBinaryStorage.cs (1)
20internal sealed class SqlBinaryStorage : DataStorage {
fx\src\data\System\Data\Common\SQLTypes\SQlBooleanStorage.cs (1)
20internal sealed class SqlBooleanStorage : DataStorage {
fx\src\data\System\Data\Common\SQLTypes\SQLBytesStorage.cs (1)
21internal sealed class SqlBytesStorage : DataStorage {
fx\src\data\System\Data\Common\SQLTypes\SQLByteStorage.cs (1)
20internal sealed class SqlByteStorage : DataStorage {
fx\src\data\System\Data\Common\SQLTypes\SQLCharsStorage.cs (1)
20internal sealed class SqlCharsStorage : DataStorage {
fx\src\data\System\Data\Common\SQLTypes\SQLDateTimeStorage.cs (1)
20internal sealed class SqlDateTimeStorage : DataStorage {
fx\src\data\System\Data\Common\SQLTypes\SQLDecimalStorage.cs (1)
20internal sealed class SqlDecimalStorage : DataStorage {
fx\src\data\System\Data\Common\SQLTypes\SQLDoubleStorage.cs (1)
20internal sealed class SqlDoubleStorage : DataStorage {
fx\src\data\System\Data\Common\SQLTypes\SQLGuidStorage.cs (1)
20internal sealed class SqlGuidStorage : DataStorage {
fx\src\data\System\Data\Common\SQLTypes\SQLInt16Storage.cs (1)
20internal sealed class SqlInt16Storage : DataStorage {
fx\src\data\System\Data\Common\SQLTypes\SQLInt32Storage.cs (1)
20internal sealed class SqlInt32Storage : DataStorage {
fx\src\data\System\Data\Common\SQLTypes\SQLInt64Storage.cs (1)
20internal sealed class SqlInt64Storage : DataStorage {
fx\src\data\System\Data\Common\SQLTypes\SQLMoneyStorage.cs (1)
20internal sealed class SqlMoneyStorage : DataStorage {
fx\src\data\System\Data\Common\SQLTypes\SQLSingleStorage.cs (1)
20internal sealed class SqlSingleStorage : DataStorage {
fx\src\data\System\Data\Common\SQLTypes\SQLStringStorage.cs (1)
20internal sealed class SqlStringStorage : DataStorage {
fx\src\data\System\Data\Common\SQLTypes\SqlUDTStorage.cs (1)
24internal sealed class SqlUdtStorage : DataStorage {
fx\src\data\System\Data\Common\SQLTypes\SqlXmlStorage.cs (1)
19internal sealed class SqlXmlStorage : DataStorage {
fx\src\data\System\Data\Common\StringStorage.cs (1)
18internal sealed class StringStorage : DataStorage {
fx\src\data\System\Data\Common\TimeSpanStorage.cs (1)
16internal sealed class TimeSpanStorage : DataStorage {
fx\src\data\System\Data\Common\UInt16Storage.cs (1)
16internal sealed class UInt16Storage : DataStorage {
fx\src\data\System\Data\Common\UInt32Storage.cs (1)
16internal sealed class UInt32Storage : DataStorage {
fx\src\data\System\Data\Common\UInt64Storage.cs (1)
16internal sealed class UInt64Storage : DataStorage {
129 references to DataStorage
System.Data (129)
fx\src\data\System\Data\Common\AdapterUtil.cs (1)
2519isSqlType = DataStorage.IsSqlType(value.GetType());
fx\src\data\System\Data\Common\DataStorage.cs (1)
261public static DataStorage CreateStorage(DataColumn column, Type dataType, StorageType typeCode) {
fx\src\data\System\Data\Common\ObjectStorage.cs (1)
336type = (typeName == null)? DataType : DataStorage.GetType(typeName);
fx\src\data\System\Data\Common\SQLConvert.cs (19)
24StorageType stype = DataStorage.GetStorageType(valueType); 42StorageType stype = DataStorage.GetStorageType(valueType); 63StorageType stype = DataStorage.GetStorageType(valueType); 91StorageType stype = DataStorage.GetStorageType(valueType); 124StorageType stype = DataStorage.GetStorageType(valueType); 172StorageType stype = DataStorage.GetStorageType(valueType); 214StorageType stype = DataStorage.GetStorageType(valueType); 258StorageType stype = DataStorage.GetStorageType(valueType); 299StorageType stype = DataStorage.GetStorageType(valueType); 317StorageType stype = DataStorage.GetStorageType(valueType); 335StorageType stype = DataStorage.GetStorageType(valueType); 353StorageType stype = DataStorage.GetStorageType(valueType); 371StorageType stype = DataStorage.GetStorageType(valueType); 389StorageType stype = DataStorage.GetStorageType(valueType); 404StorageType stype = DataStorage.GetStorageType(valueType); 426return ChangeType2(value, DataStorage.GetStorageType(type), type, formatProvider); 473StorageType vtype = DataStorage.GetStorageType(valueType); 618StorageType destinationType = DataStorage.GetStorageType(type); 620StorageType vtype = DataStorage.GetStorageType(valueType);
fx\src\data\System\Data\Common\SQLTypes\SQLBinaryStorage.cs (1)
105Debug.Assert(!DataStorage.IsObjectNull(value), "we should have null here");
fx\src\data\System\Data\Common\SQLTypes\SQlBooleanStorage.cs (1)
134Debug.Assert(!DataStorage.IsObjectNull(value), "we should have null here");
fx\src\data\System\Data\Common\SQLTypes\SQLBytesStorage.cs (1)
104Debug.Assert(!DataStorage.IsObjectNull(value), "we shouldn't have null here");
fx\src\data\System\Data\Common\SQLTypes\SQLByteStorage.cs (1)
203Debug.Assert(!DataStorage.IsObjectNull(value), "we shouldn't have null here");
fx\src\data\System\Data\Common\SQLTypes\SQLCharsStorage.cs (1)
106Debug.Assert(!DataStorage.IsObjectNull(value), "we shouldn't have null here");
fx\src\data\System\Data\Common\SQLTypes\SQLDateTimeStorage.cs (1)
136Debug.Assert(!DataStorage.IsObjectNull(value), "we shouldn't have null here");
fx\src\data\System\Data\Common\SQLTypes\SQLDecimalStorage.cs (1)
201Debug.Assert(!DataStorage.IsObjectNull(value), "we shouldn't have null here");
fx\src\data\System\Data\Common\SQLTypes\SQLDoubleStorage.cs (1)
202Debug.Assert(!DataStorage.IsObjectNull(value), "we shouldn't have null here");
fx\src\data\System\Data\Common\SQLTypes\SQLGuidStorage.cs (1)
105Debug.Assert(!DataStorage.IsObjectNull(value), "we shouldn't have null here");
fx\src\data\System\Data\Common\SQLTypes\SQLInt16Storage.cs (1)
202Debug.Assert(!DataStorage.IsObjectNull(value), "we shouldn't have null here");
fx\src\data\System\Data\Common\SQLTypes\SQLInt32Storage.cs (1)
202Debug.Assert(!DataStorage.IsObjectNull(value), "we shouldn't have null here");
fx\src\data\System\Data\Common\SQLTypes\SQLInt64Storage.cs (1)
203Debug.Assert(!DataStorage.IsObjectNull(value), "we shouldn't have null here");
fx\src\data\System\Data\Common\SQLTypes\SQLMoneyStorage.cs (1)
202Debug.Assert(!DataStorage.IsObjectNull(value), "we shouldn't have null here");
fx\src\data\System\Data\Common\SQLTypes\SQLSingleStorage.cs (1)
203Debug.Assert(!DataStorage.IsObjectNull(value), "we should have null here");
fx\src\data\System\Data\Common\SQLTypes\SQLStringStorage.cs (1)
159Debug.Assert(!DataStorage.IsObjectNull(value), "we shouldn't have null here");
fx\src\data\System\Data\DataColumn.cs (15)
72private DataStorage _storage; 145StorageType typeCode = DataStorage.GetStorageType(dataType); 146if (DataStorage.ImplementsINullableValue(typeCode, dataType)) { 171DataStorage.ImplementsInterfaces( 488if (DataStorage.IsObjectNull(objValue)) { 541StorageType typeCode = DataStorage.GetStorageType(value); 542if (DataStorage.ImplementsINullableValue(typeCode, value)) { 703defaultValueIsNull = ((newDefaultValue == DBNull.Value) || (this.ImplementsINullable && DataStorage.IsObjectSqlNull(newDefaultValue))) ? true : false; 1412if (DataStorage.IsObjectNull(dr[this])) { 1495clone.defaultValueIsNull = ((defaultValue == DBNull.Value) || (clone.ImplementsINullable && DataStorage.IsObjectSqlNull(defaultValue))) ? true : false; 1567if ((mapping != MappingType.Element) && DataStorage.IsTypeCustomType(typeCode)) { 1577return DataStorage.IsTypeCustomType(DataType); 1583return (DataStorage.IsTypeCustomType(value.GetType()) && !(value is Type)); 1646if (!DataStorage.IsObjectNull(value) && ((SqlString)value).Value.Length > MaxLength) { 1687_storage = DataStorage.CreateStorage(this, dataType, _storageType);
fx\src\data\System\Data\DataColumnPropertyDescriptor.cs (1)
77return (!DataStorage.IsObjectNull(dataRowView.GetColumnValue(column)));
fx\src\data\System\Data\DataRelation.cs (1)
234if (!DataStorage.IsObjectNull(values[i]))
fx\src\data\System\Data\DataTable.cs (1)
3550if (DataStorage.IsTypeCustomType(dc.DataType) && newValue != dc[record]) {
fx\src\data\System\Data\Filter\BinaryNode.cs (40)
138if (!DataStorage.IsSqlType(resultType)) { 256StorageType leftStorage = DataStorage.GetStorageType(typeofLeft); 257StorageType rightStorage = DataStorage.GetStorageType(typeofRight); 259bool leftIsSqlType = DataStorage.IsSqlType(leftStorage); 260bool rightIsSqlType = DataStorage.IsSqlType(rightStorage); 263if (leftIsSqlType && DataStorage.IsObjectSqlNull(vLeft)) { 266else if (rightIsSqlType && DataStorage.IsObjectSqlNull(vRight)) { 617if ((vLeft == DBNull.Value)||(left.IsSqlColumn && DataStorage.IsObjectSqlNull(vLeft)) || 618(vRight == DBNull.Value)||(right.IsSqlColumn && DataStorage.IsObjectSqlNull(vRight))) 623if ((vLeft == DBNull.Value)||(left.IsSqlColumn && DataStorage.IsObjectSqlNull(vLeft)) || 624(vRight == DBNull.Value)||(right.IsSqlColumn && DataStorage.IsObjectSqlNull(vRight))) 629if ((vLeft == DBNull.Value)||(left.IsSqlColumn && DataStorage.IsObjectSqlNull(vLeft)) || 630(vRight == DBNull.Value)||(right.IsSqlColumn && DataStorage.IsObjectSqlNull(vRight))) 635if ((vLeft == DBNull.Value)||(left.IsSqlColumn && DataStorage.IsObjectSqlNull(vLeft)) || 636(vRight == DBNull.Value)||(right.IsSqlColumn && DataStorage.IsObjectSqlNull(vRight))) 641if (((vLeft == DBNull.Value)||(left.IsSqlColumn && DataStorage.IsObjectSqlNull(vLeft))) || 642((vRight == DBNull.Value)||(right.IsSqlColumn && DataStorage.IsObjectSqlNull(vRight)))) 647if (((vLeft == DBNull.Value)||(left.IsSqlColumn && DataStorage.IsObjectSqlNull(vLeft))) || 648((vRight == DBNull.Value)||(right.IsSqlColumn && DataStorage.IsObjectSqlNull(vRight)))) 654if ((vLeft == DBNull.Value)||(left.IsSqlColumn && DataStorage.IsObjectSqlNull(vLeft))){ 661if ((vLeft == DBNull.Value)||(left.IsSqlColumn && DataStorage.IsObjectSqlNull(vLeft))){ 674if ((vLeft == DBNull.Value)||(left.IsSqlColumn && DataStorage.IsObjectSqlNull(vLeft))) 696if ((vRight == DBNull.Value)||(right.IsSqlColumn && DataStorage.IsObjectSqlNull(vRight ))) 722if ((vLeft != DBNull.Value) && (!DataStorage.IsObjectSqlNull(vLeft))) { 736if ((vRight == DBNull.Value)||(DataStorage.IsObjectSqlNull(vRight))) 739if ((vLeft == DBNull.Value)||(DataStorage.IsObjectSqlNull(vLeft))) 787else if (DataStorage.IsSqlType(resultType)) { 805value = Convert.ChangeType(value, DataStorage.GetTypeStorage(resultType), FormatProvider); 826if ((vLeft == DBNull.Value)||(left.IsSqlColumn && DataStorage.IsObjectSqlNull(vLeft))) 839if ((vRight == DBNull.Value)||(right.IsSqlColumn && DataStorage.IsObjectSqlNull(vRight))) 841Debug.Assert((!DataStorage.IsObjectNull(vLeft))&& (!DataStorage.IsObjectNull(vRight)), "Imposible.."); 843resultType = DataStorage.GetStorageType(vLeft.GetType()); 857throw ExprException.Overflow(DataStorage.GetTypeStorage(resultType)); 1075throw ExprException.AmbiguousBinop(op, DataStorage.GetTypeStorage(left), DataStorage.GetTypeStorage(right)); 1173throw ExprException.AmbiguousBinop(op, DataStorage.GetTypeStorage(left), DataStorage.GetTypeStorage(right)); 1225if ((vLeft == DBNull.Value)||(left.IsSqlColumn && DataStorage.IsObjectSqlNull(vLeft))) 1235if (vRight == DBNull.Value || DataStorage.IsObjectSqlNull(vRight))
fx\src\data\System\Data\Filter\DataExpression.cs (2)
40_storageType = DataStorage.GetStorageType(type); 198return DataStorage.IsObjectNull(value);
fx\src\data\System\Data\Filter\FunctionNode.cs (9)
134if (funcs[info].parameters[i] == typeof(int) && ExpressionNode.IsInteger(DataStorage.GetStorageType(argumentValues[i].GetType()))) { 260storageType = DataStorage.GetStorageType(argumentValues[0].GetType()); 271storageType = DataStorage.GetStorageType(argumentValues[0].GetType()); 307if (DataStorage.IsObjectNull(argumentValues[0]) || DataStorage.IsObjectNull(argumentValues[1])) 338if (DataStorage.IsObjectNull(argumentValues[0])) 403if (DataStorage.IsObjectNull(argumentValues[0])) 422StorageType mytype = DataStorage.GetStorageType(type); 423storageType = DataStorage.GetStorageType(argumentValues[0].GetType());
fx\src\data\System\Data\Filter\UnaryNode.cs (2)
56storageType = DataStorage.GetStorageType(vl.GetType()); 64storageType = DataStorage.GetStorageType(vl.GetType());
fx\src\data\System\Data\ForeignKeyConstraint.cs (1)
187 if (! DataStorage.IsObjectNull(values[i]))
fx\src\data\System\Data\Select.cs (4)
549if ((vLeft == DBNull.Value)||(expr.left.IsSqlColumn && DataStorage.IsObjectSqlNull(vLeft))) 551if ((vRight == DBNull.Value)||(expr.right.IsSqlColumn && DataStorage.IsObjectSqlNull(vRight))) 554StorageType leftType = DataStorage.GetStorageType(vLeft.GetType()); 562StorageType rightType = DataStorage.GetStorageType(vRight.GetType());
fx\src\data\System\Data\XmlDataLoader.cs (1)
1115columnValue = SqlUdtStorage.GetStaticNullForUdtType(DataStorage.GetType(typeName));
fx\src\data\System\Data\xmlsaver.cs (13)
358if (DataStorage.IsTypeCustomType(columnType)) { 1926string result = DataStorage.GetQualifiedName(type); 2250if ((columnValue != DBNull.Value) && (!col.ImplementsINullable || !DataStorage.IsObjectSqlNull(columnValue))){ 2254_xmlw.WriteAttributeString(Keywords.MSD, Keywords.MSD_INSTANCETYPE, Keywords.MSDNS, DataStorage.GetQualifiedName(valuesType)); 2274DataStorage.IsSqlType(valuesType) ) { // if unmapped type or SQL type write msdata:Datatype=typeofinstance 2285if (!DataStorage.IsSqlType(valuesType)) { 2572if ((value != DBNull.Value) && (!col.ImplementsINullable || !DataStorage.IsObjectSqlNull(value))){ 2585if ((value != DBNull.Value) && (!col.ImplementsINullable || !DataStorage.IsObjectSqlNull(value))){ 2600if (((value == DBNull.Value) || (col.ImplementsINullable && DataStorage.IsObjectSqlNull(value))) && (col.ColumnMapping == MappingType.SimpleContent)) 2604if (((value != DBNull.Value) && (!col.ImplementsINullable || !DataStorage.IsObjectSqlNull(value)))&&(col.columnMapping != MappingType.Attribute)){ 2627_xmlw.WriteAttributeString(Keywords.MSD, Keywords.MSD_INSTANCETYPE, Keywords.MSDNS, DataStorage.GetQualifiedName(valuesType)); 2645DataStorage.IsSqlType(valuesType)) { // if unmapped type or SQL type write msdata:Datatype=typeofinstance 2656if (!DataStorage.IsSqlType(valuesType)) {
fx\src\data\System\Data\XMLSchema.cs (2)
62propValue = DataStorage.GetType(value); 254col.DataType = DataStorage.GetType(value);