C# 클래스 System.Data.Common.DataStorage

파일 보기 프로젝트 열기: dotnet/corefx 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CopyValueInternal void
DetermineIfValueType bool
GetEmptyStorageInternal object
GetQualifiedName string
GetStorageType StorageType
GetType System.Type
GetTypeStorage System.Type
ImplementsINullableValue bool
ImplementsInterfaces void
InspectTypeForInterfaces Tuple
IsSqlType bool
IsTypeCustomType bool
IsTypeCustomType bool
SetStorageInternal void

공개 메소드들

메소드 설명
Aggregate ( int recordNos, AggregateType kind ) : object
AggregateCount ( int recordNos ) : object
Compare ( int recordNo1, int recordNo2 ) : int
CompareValueTo ( int recordNo1, object value ) : int
ConvertObjectToXml ( object value ) : string
ConvertObjectToXml ( object value, XmlWriter xmlWriter, XmlRootAttribute xmlAttrib ) : void
ConvertValue ( object value ) : object
ConvertXmlToObject ( XmlReader xmlReader, XmlRootAttribute xmlAttrib ) : object
ConvertXmlToObject ( string s ) : object
Copy ( int recordNo1, int recordNo2 ) : void
CreateStorage ( DataColumn column, Type dataType, StorageType typeCode ) : DataStorage
Get ( int recordNo ) : object
GetStringLength ( int record ) : int
IsNull ( int recordNo ) : bool
IsObjectNull ( object value ) : bool
IsObjectSqlNull ( object value ) : bool
IsSqlType ( Type dataType ) : bool
Set ( int recordNo, object value ) : void
SetCapacity ( int capacity ) : void

보호된 메소드들

메소드 설명
CompareBits ( int recordNo1, int recordNo2 ) : int
CopyBits ( int srcRecordNo, int dstRecordNo ) : void
CopyValue ( int record, object store, BitArray nullbits, int storeIndex ) : void
DataStorage ( DataColumn column, Type type, object defaultValue, StorageType storageType ) : System.Collections
DataStorage ( DataColumn column, Type type, object defaultValue, object nullValue, StorageType storageType ) : System.Collections
DataStorage ( DataColumn column, Type type, object defaultValue, object nullValue, bool isICloneable, StorageType storageType ) : System.Collections
GetBits ( int recordNo ) : object
GetEmptyStorage ( int recordCount ) : object
HasValue ( int recordNo ) : bool
SetNullBit ( int recordNo, bool flag ) : void
SetNullStorage ( BitArray nullbits ) : void
SetStorage ( object store, BitArray nullbits ) : void

비공개 메소드들

메소드 설명
CopyValueInternal ( int record, object store, BitArray nullbits, int storeIndex ) : void
DetermineIfValueType ( StorageType typeCode, Type dataType ) : bool
GetEmptyStorageInternal ( int recordCount ) : object
GetQualifiedName ( Type type ) : string

wrapper around Type.AssemblyQualifiedName

GetStorageType ( Type dataType ) : StorageType
GetType ( string value ) : Type

wrapper around Type.GetType

Types like "System.Guid" will load regardless of AssemblyQualifiedName because they are special Types like "System.Data.SqlTypes.SqlString" will load because they are in the same assembly as this code Types like "System.Numerics.BigInteger" won't load because they are not special and not same assembly as this code

GetTypeStorage ( StorageType storageType ) : Type
ImplementsINullableValue ( StorageType typeCode, Type dataType ) : bool
ImplementsInterfaces ( StorageType typeCode, Type dataType, bool &sqlType, bool &nullable, bool &xmlSerializable, bool &changeTracking, bool &revertibleChangeTracking ) : void
InspectTypeForInterfaces ( Type dataType ) : Tuple
IsSqlType ( StorageType storageType ) : bool
IsTypeCustomType ( StorageType typeCode ) : bool
IsTypeCustomType ( Type type ) : bool
SetStorageInternal ( object store, BitArray nullbits ) : void

메소드 상세

Aggregate() 공개 메소드

public Aggregate ( int recordNos, AggregateType kind ) : object
recordNos int
kind AggregateType
리턴 object

AggregateCount() 공개 메소드

public AggregateCount ( int recordNos ) : object
recordNos int
리턴 object

Compare() 공개 추상적인 메소드

public abstract Compare ( int recordNo1, int recordNo2 ) : int
recordNo1 int
recordNo2 int
리턴 int

CompareBits() 보호된 메소드

protected CompareBits ( int recordNo1, int recordNo2 ) : int
recordNo1 int
recordNo2 int
리턴 int

CompareValueTo() 공개 추상적인 메소드

public abstract CompareValueTo ( int recordNo1, object value ) : int
recordNo1 int
value object
리턴 int

ConvertObjectToXml() 공개 추상적인 메소드

public abstract ConvertObjectToXml ( object value ) : string
value object
리턴 string

ConvertObjectToXml() 공개 메소드

public ConvertObjectToXml ( object value, XmlWriter xmlWriter, XmlRootAttribute xmlAttrib ) : void
value object
xmlWriter System.Xml.XmlWriter
xmlAttrib System.Xml.Serialization.XmlRootAttribute
리턴 void

ConvertValue() 공개 메소드

public ConvertValue ( object value ) : object
value object
리턴 object

ConvertXmlToObject() 공개 메소드

public ConvertXmlToObject ( XmlReader xmlReader, XmlRootAttribute xmlAttrib ) : object
xmlReader System.Xml.XmlReader
xmlAttrib System.Xml.Serialization.XmlRootAttribute
리턴 object

ConvertXmlToObject() 공개 추상적인 메소드

public abstract ConvertXmlToObject ( string s ) : object
s string
리턴 object

Copy() 공개 추상적인 메소드

public abstract Copy ( int recordNo1, int recordNo2 ) : void
recordNo1 int
recordNo2 int
리턴 void

CopyBits() 보호된 메소드

protected CopyBits ( int srcRecordNo, int dstRecordNo ) : void
srcRecordNo int
dstRecordNo int
리턴 void

CopyValue() 보호된 추상적인 메소드

protected abstract CopyValue ( int record, object store, BitArray nullbits, int storeIndex ) : void
record int
store object
nullbits System.Collections.BitArray
storeIndex int
리턴 void

CreateStorage() 공개 정적인 메소드

public static CreateStorage ( DataColumn column, Type dataType, StorageType typeCode ) : DataStorage
column DataColumn
dataType System.Type
typeCode StorageType
리턴 DataStorage

DataStorage() 보호된 메소드

protected DataStorage ( DataColumn column, Type type, object defaultValue, StorageType storageType ) : System.Collections
column DataColumn
type System.Type
defaultValue object
storageType StorageType
리턴 System.Collections

DataStorage() 보호된 메소드

protected DataStorage ( DataColumn column, Type type, object defaultValue, object nullValue, StorageType storageType ) : System.Collections
column DataColumn
type System.Type
defaultValue object
nullValue object
storageType StorageType
리턴 System.Collections

DataStorage() 보호된 메소드

protected DataStorage ( DataColumn column, Type type, object defaultValue, object nullValue, bool isICloneable, StorageType storageType ) : System.Collections
column DataColumn
type System.Type
defaultValue object
nullValue object
isICloneable bool
storageType StorageType
리턴 System.Collections

Get() 공개 추상적인 메소드

public abstract Get ( int recordNo ) : object
recordNo int
리턴 object

GetBits() 보호된 메소드

protected GetBits ( int recordNo ) : object
recordNo int
리턴 object

GetEmptyStorage() 보호된 추상적인 메소드

protected abstract GetEmptyStorage ( int recordCount ) : object
recordCount int
리턴 object

GetStringLength() 공개 메소드

public GetStringLength ( int record ) : int
record int
리턴 int

HasValue() 보호된 메소드

protected HasValue ( int recordNo ) : bool
recordNo int
리턴 bool

IsNull() 공개 메소드

public IsNull ( int recordNo ) : bool
recordNo int
리턴 bool

IsObjectNull() 공개 정적인 메소드

public static IsObjectNull ( object value ) : bool
value object
리턴 bool

IsObjectSqlNull() 공개 정적인 메소드

public static IsObjectSqlNull ( object value ) : bool
value object
리턴 bool

IsSqlType() 공개 정적인 메소드

public static IsSqlType ( Type dataType ) : bool
dataType System.Type
리턴 bool

Set() 공개 추상적인 메소드

public abstract Set ( int recordNo, object value ) : void
recordNo int
value object
리턴 void

SetCapacity() 공개 메소드

public SetCapacity ( int capacity ) : void
capacity int
리턴 void

SetNullBit() 보호된 메소드

protected SetNullBit ( int recordNo, bool flag ) : void
recordNo int
flag bool
리턴 void

SetNullStorage() 보호된 메소드

protected SetNullStorage ( BitArray nullbits ) : void
nullbits System.Collections.BitArray
리턴 void

SetStorage() 보호된 추상적인 메소드

protected abstract SetStorage ( object store, BitArray nullbits ) : void
store object
nullbits System.Collections.BitArray
리턴 void