Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Data.Common.SqlUdtStorage Class Referencesealed

Public Member Functions

 SqlUdtStorage (DataColumn column, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicFields|DynamicallyAccessedMemberTypes.PublicProperties)] Type type)
 
override bool IsNull (int record)
 
override object Aggregate (int[] records, AggregateType kind)
 
override int Compare (int recordNo1, int recordNo2)
 
override int CompareValueTo (int recordNo1, object value)
 
override void Copy (int recordNo1, int recordNo2)
 
override object Get (int recordNo)
 
override void Set (int recordNo, object value)
 
override void SetCapacity (int capacity)
 
override object ConvertXmlToObject (string s)
 
override object ConvertXmlToObject (XmlReader xmlReader, XmlRootAttribute xmlAttrib)
 
override string ConvertObjectToXml (object value)
 
override void ConvertObjectToXml (object value, XmlWriter xmlWriter, XmlRootAttribute xmlAttrib)
 
object AggregateCount (int[] recordNos)
 
virtual object ConvertValue (object value)
 
virtual int GetStringLength (int record)
 

Static Public Member Functions

static DataStorage CreateStorage (DataColumn column, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicFields|DynamicallyAccessedMemberTypes.PublicProperties)] Type dataType, StorageType typeCode)
 
static bool IsSqlType (Type dataType)
 
static bool IsObjectNull (object value)
 
static bool IsObjectSqlNull (object value)
 

Protected Member Functions

override object GetEmptyStorage (int recordCount)
 
override void CopyValue (int record, object store, BitArray nullbits, int storeIndex)
 
override void SetStorage (object store, BitArray nullbits)
 
int CompareBits (int recordNo1, int recordNo2)
 
void CopyBits (int srcRecordNo, int dstRecordNo)
 
object GetBits (int recordNo)
 
bool HasValue (int recordNo)
 
void SetNullBit (int recordNo, bool flag)
 
void SetNullStorage (BitArray nullbits)
 

Package Functions

object GetEmptyStorageInternal (int recordCount)
 
void CopyValueInternal (int record, object store, BitArray nullbits, int storeIndex)
 
void SetStorageInternal (object store, BitArray nullbits)
 

Static Package Functions

static object GetStaticNullForUdtType ([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicFields|DynamicallyAccessedMemberTypes.PublicProperties)] Type type)
 
static StorageType GetStorageType (Type dataType)
 
static Type GetTypeStorage (StorageType storageType)
 
static bool IsTypeCustomType (Type type)
 
static bool IsTypeCustomType (StorageType typeCode)
 
static bool IsSqlType (StorageType storageType)
 
static void ImplementsInterfaces (StorageType typeCode, Type dataType, out bool sqlType, out bool nullable, out bool xmlSerializable, out bool changeTracking, out bool revertibleChangeTracking)
 
static bool ImplementsINullableValue (StorageType typeCode, Type dataType)
 
static Type GetType (string value)
 
static string GetQualifiedName (Type type)
 

Package Attributes

readonly DataColumn _column
 
readonly DataTable _table
 
readonly Type _dataType
 
readonly StorageType _storageTypeCode
 
readonly object _nullValue
 
readonly bool _isCloneable
 
readonly bool _isCustomDefinedType
 
readonly bool _isStringType
 
readonly bool _isValueType
 

Properties

DataSetDateTime DateTimeMode [get]
 
IFormatProvider FormatProvider [get]
 

Private Member Functions

 SqlUdtStorage (DataColumn column, Type type, object nullValue)
 

Static Private Member Functions

static object GetStaticNullForUdtTypeCore (Type type)
 
static bool DetermineIfValueType (StorageType typeCode, Type dataType)
 
static Tuple< bool, bool, bool, boolInspectTypeForInterfaces (Type dataType)
 

Private Attributes

object[] _values
 
readonly bool _implementsIXmlSerializable
 
readonly bool _implementsIComparable
 
BitArray _dbNullBits
 
readonly object _defaultValue
 

Static Private Attributes

static readonly ConcurrentDictionary< Type, object > s_typeToNull = new ConcurrentDictionary<Type, object>()
 
static readonly Type[] s_storageClassType
 
static readonly Func< Type, Tuple< bool, bool, bool, bool > > s_inspectTypeForInterfaces = InspectTypeForInterfaces
 
static readonly ConcurrentDictionary< Type, Tuple< bool, bool, bool, bool > > s_typeImplementsInterface = new ConcurrentDictionary<Type, Tuple<bool, bool, bool, bool>>()
 

Detailed Description

Definition at line 13 of file SqlUdtStorage.cs.


The documentation for this class was generated from the following file: