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

Public Member Functions

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

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 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]
 

Static Private Member Functions

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

Private Attributes

float[] _values
 
BitArray _dbNullBits
 
readonly object _defaultValue
 

Static Private Attributes

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 7 of file SingleStorage.cs.


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