C# Класс System.Data.DataColumn

Наследование: System.ComponentModel.MarshalByValueComponent
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
AddDependentColumn void
BindExpression void
CheckColumnConstraint void
CheckMaxLength bool
CheckMaxLength void
CheckNullable void
Clone DataColumn
Compare int
CompareValueTo bool
CompareValueTo int
ConvertObjectToXml string
ConvertObjectToXml void
ConvertValue object
ConvertXmlToObject object
ConvertXmlToObject object
Copy void
CopyValueIntoStore void
FindParentRelation DataRelation
FinishInitInProgress void
FreeRecord void
GetAggregateValue object
GetColumnValueAsString string
GetDataRow DataRow
GetEmptyColumnStore object
GetStringLength int
HandleDependentColumnList void
Init void
InitializeRecord void
InsureStorage void
InternalUnique void
IsAutoIncrementType bool
IsColumnMappingValid bool
IsInRelation bool
IsMaxLengthViolated bool
IsNotAllowDBNullViolated bool
IsNull bool
IsValueCustomTypeInstance bool
OnSetDataSet void
RemoveDependentColumn void
ResetCaption void
ResetNamespace void
SetCapacity void
SetMaxLengthSimpleType void
SetOrdinalInternal void
SetStorage void
SetTable void
SetValue void
ShouldSerializeCaption bool
ShouldSerializeDefaultValue bool
ShouldSerializeNamespace bool
UpdateColumnType void
this object

Открытые методы

Метод Описание
DataColumn ( ) : System.Xml

Initializes a new instance of a class.

DataColumn ( string columnName ) : System.Xml

Inititalizes a new instance of the class using the specified column name.

DataColumn ( string columnName, Type dataType ) : System.Xml

Inititalizes a new instance of the class using the specified column name and data type.

DataColumn ( string columnName, Type dataType, string expr ) : System.Xml

Initializes a new instance of the class using the specified name, data type, and expression.

DataColumn ( string columnName, Type dataType, string expr, MappingType type ) : System.Xml

Initializes a new instance of the class using the specified name, data type, expression, and value that determines whether the column is an attribute.

SetOrdinal ( int ordinal ) : void
ToString ( ) : string

Защищенные методы

Метод Описание
CheckNotAllowNull ( ) : void
CheckUnique ( ) : void
OnPropertyChanging ( PropertyChangedEventArgs pcevent ) : void
RaisePropertyChanging ( string name ) : void

Приватные методы

Метод Описание
AddDependentColumn ( DataColumn expressionColumn ) : void
BindExpression ( ) : void
CheckColumnConstraint ( DataRow row, DataRowAction action ) : void
CheckMaxLength ( ) : bool
CheckMaxLength ( DataRow dr ) : void
CheckNullable ( DataRow row ) : void
Clone ( ) : DataColumn
Compare ( int record1, int record2 ) : int
CompareValueTo ( int record1, object value, bool checkType ) : bool
CompareValueTo ( int record1, 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 srcRecordNo, int dstRecordNo ) : void
CopyValueIntoStore ( int record, object store, BitArray nullbits, int storeIndex ) : void
FindParentRelation ( ) : DataRelation

Finds a relation that this column is the sole child of or null.

FinishInitInProgress ( ) : void
FreeRecord ( int record ) : void
GetAggregateValue ( int records, AggregateType kind ) : object
GetColumnValueAsString ( DataRow row, DataRowVersion version ) : string
GetDataRow ( int index ) : DataRow
GetEmptyColumnStore ( int recordCount ) : object
GetStringLength ( int record ) : int
HandleDependentColumnList ( DataExpression oldExpression, DataExpression newExpression ) : void
Init ( int record ) : void
InitializeRecord ( int record ) : void
InsureStorage ( ) : void
InternalUnique ( bool value ) : void
IsAutoIncrementType ( Type dataType ) : bool
IsColumnMappingValid ( StorageType typeCode, MappingType mapping ) : bool
IsInRelation ( ) : bool

Returns true if this column is a part of a Parent or Child key for a relation.

IsMaxLengthViolated ( ) : bool
IsNotAllowDBNullViolated ( ) : bool
IsNull ( int record ) : bool
IsValueCustomTypeInstance ( object value ) : bool
OnSetDataSet ( ) : void
RemoveDependentColumn ( DataColumn expressionColumn ) : void
ResetCaption ( ) : void

Resets the property to its previous value, or to .

ResetNamespace ( ) : void
SetCapacity ( int capacity ) : void
SetMaxLengthSimpleType ( ) : void
SetOrdinalInternal ( int ordinal ) : void
SetStorage ( object store, BitArray nullbits ) : void
SetTable ( DataTable table ) : void

Internal mechanism for changing the table pointer.

SetValue ( int record, object value ) : void
ShouldSerializeCaption ( ) : bool

Gets a value indicating whether the has been explicitly set.

ShouldSerializeDefaultValue ( ) : bool
ShouldSerializeNamespace ( ) : bool
UpdateColumnType ( Type type, StorageType typeCode ) : void
this ( int record ) : object

This is how data is pushed in and out of the column.

Описание методов

CheckNotAllowNull() защищенный Метод

protected CheckNotAllowNull ( ) : void
Результат void

CheckUnique() защищенный Метод

protected CheckUnique ( ) : void
Результат void

DataColumn() публичный Метод

Initializes a new instance of a class.
public DataColumn ( ) : System.Xml
Результат System.Xml

DataColumn() публичный Метод

Inititalizes a new instance of the class using the specified column name.
public DataColumn ( string columnName ) : System.Xml
columnName string
Результат System.Xml

DataColumn() публичный Метод

Inititalizes a new instance of the class using the specified column name and data type.
public DataColumn ( string columnName, Type dataType ) : System.Xml
columnName string
dataType Type
Результат System.Xml

DataColumn() публичный Метод

Initializes a new instance of the class using the specified name, data type, and expression.
public DataColumn ( string columnName, Type dataType, string expr ) : System.Xml
columnName string
dataType Type
expr string
Результат System.Xml

DataColumn() публичный Метод

Initializes a new instance of the class using the specified name, data type, expression, and value that determines whether the column is an attribute.
public DataColumn ( string columnName, Type dataType, string expr, MappingType type ) : System.Xml
columnName string
dataType Type
expr string
type MappingType
Результат System.Xml

OnPropertyChanging() защищенный Метод

protected OnPropertyChanging ( PropertyChangedEventArgs pcevent ) : void
pcevent System.ComponentModel.PropertyChangedEventArgs
Результат void

RaisePropertyChanging() защищенный Метод

protected RaisePropertyChanging ( string name ) : void
name string
Результат void

SetOrdinal() публичный Метод

public SetOrdinal ( int ordinal ) : void
ordinal int
Результат void

ToString() публичный Метод

public ToString ( ) : string
Результат string