125 for (
int i = 0; i <
recordNos.Length; i++)
231 if (typeCode ==
StorageType.Empty &&
null != dataType)
239 return typeCode
switch
314 if (
StorageType.Object != typeCode && typeCode != 0)
397 else if (typeCode != 0)
478 if (
null ==
type &&
"System.Numerics.BigInteger" ==
value)
489 return type.AssemblyQualifiedName;
void Set(int index, bool value)
static readonly DBNull Value
DataStorage(DataColumn column, Type type, object defaultValue, object nullValue, bool isICloneable, StorageType storageType)
static bool IsObjectNull(object value)
void Set(int recordNo, object value)
void SetStorage(object store, BitArray nullbits)
void SetNullStorage(BitArray nullbits)
static bool DetermineIfValueType(StorageType typeCode, Type dataType)
static void ImplementsInterfaces(StorageType typeCode, Type dataType, out bool sqlType, out bool nullable, out bool xmlSerializable, out bool changeTracking, out bool revertibleChangeTracking)
virtual object ConvertValue(object value)
readonly bool _isCustomDefinedType
static bool ImplementsINullableValue(StorageType typeCode, Type dataType)
object GetEmptyStorage(int recordCount)
static Type GetType(string value)
DataStorage(DataColumn column, Type type, object defaultValue, object nullValue, StorageType storageType)
int CompareValueTo(int recordNo1, object value)
int CompareBits(int recordNo1, int recordNo2)
bool HasValue(int recordNo)
readonly StorageType _storageTypeCode
static readonly Type[] s_storageClassType
readonly DataColumn _column
virtual void SetCapacity(int capacity)
static Type GetTypeStorage(StorageType storageType)
static DataStorage CreateStorage(DataColumn column, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicFields|DynamicallyAccessedMemberTypes.PublicProperties)] Type dataType, StorageType typeCode)
void CopyValue(int record, object store, BitArray nullbits, int storeIndex)
readonly bool _isValueType
void SetNullBit(int recordNo, bool flag)
virtual void ConvertObjectToXml(object value, XmlWriter xmlWriter, XmlRootAttribute xmlAttrib)
void CopyBits(int srcRecordNo, int dstRecordNo)
void CopyValueInternal(int record, object store, BitArray nullbits, int storeIndex)
static string GetQualifiedName(Type type)
readonly bool _isCloneable
static bool IsTypeCustomType(StorageType typeCode)
readonly bool _isStringType
object GetBits(int recordNo)
object AggregateCount(int[] recordNos)
string ConvertObjectToXml(object value)
void SetStorageInternal(object store, BitArray nullbits)
static Tuple< bool, bool, bool, bool > InspectTypeForInterfaces(Type dataType)
virtual int GetStringLength(int record)
object ConvertXmlToObject(string s)
IFormatProvider FormatProvider
readonly object _nullValue
static bool IsTypeCustomType(Type type)
DataStorage(DataColumn column, Type type, object defaultValue, StorageType storageType)
virtual object Aggregate(int[] recordNos, AggregateType kind)
virtual bool IsNull(int recordNo)
static bool IsObjectSqlNull(object value)
readonly DataTable _table
int Compare(int recordNo1, int recordNo2)
static readonly Func< Type, Tuple< bool, bool, bool, bool > > s_inspectTypeForInterfaces
object GetEmptyStorageInternal(int recordCount)
static bool IsSqlType(StorageType storageType)
readonly object _defaultValue
static StorageType GetStorageType(Type dataType)
virtual object ConvertXmlToObject(XmlReader xmlReader, XmlRootAttribute xmlAttrib)
void Copy(int recordNo1, int recordNo2)
DataSetDateTime DateTimeMode
static readonly ConcurrentDictionary< Type, Tuple< bool, bool, bool, bool > > s_typeImplementsInterface
static bool IsSqlType(Type dataType)
static void VerifyIDynamicMetaObjectProvider(Type type)
DataSetDateTime DateTimeMode
IFormatProvider FormatProvider
static Exception InvalidStorageType(TypeCode typecode)
static ? Type GetType(string typeName, bool throwOnError, bool ignoreCase)
static TypeCode GetTypeCode(Type? type)
virtual bool IsGenericType
virtual Type GetGenericTypeDefinition()
DynamicallyAccessedMemberTypes