C# Class System.Data.DataTable

Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Protected Properties

Свойство Type Description
fInitInProgress bool

Private Properties

Свойство Type Description
AddDependentColumn void
AddForeignKey DataColumn
AddRecords DataRow
AddRow void
AddRow void
AddUniqueKey DataColumn
AddUniqueKey DataColumn
CacheNestedParent void
CascadeAll void
CheckCascadingNamespaceConflict void
CheckForClosureOnExpressionTables bool
CheckForClosureOnExpressions bool
CheckNamespaceValidityForNestedParentRelations void
CheckNamespaceValidityForNestedRelations void
CheckNotModifying void
CheckPrimaryKey void
Clear void
Clone DataTable
CloneHierarchy DataTable
CloneTo DataTable
CommitRow void
Compare int
Compare int
ConvertToRowError void
ConvertToRowState DataRowState
CopyRow void
CreateEmptyRow DataRow
CreateInstance DataTable
CreateRelationList void
CreateTableList void
DeleteRow void
DeserializeConstraints void
DeserializeDataTable void
DeserializeExpressionColumns void
DeserializeTableData void
DeserializeTableSchema void
DoRaiseNamespaceChange void
EnableConstraints void
EvaluateDependentExpressions void
EvaluateDependentExpressions void
EvaluateExpressions void
EvaluateExpressions void
EvaluateExpressions void
FindByIndex DataRow
FindByPrimaryKey DataRow
FindMergeTarget DataRow
FindNestedParentRelations DataRelation[]
FindRow DataRow
FormatSortString string
FreeRecord void
GetIndex Index
GetIndex Index
GetIndex Index
GetInheritedNamespace string
GetListeners List
GetPropertyDescriptorCollection PropertyDescriptorCollection
GetRowAndColumnErrors void
GetSpecialHashCode int
IListSource IList
IXmlSerializable XmlSchema
IXmlSerializable void
IXmlSerializable void
IncrementalCloneTo DataTable
IndexOf int
InsertRecordToIndexes int[]
InsertRow void
InsertRow void
InsertRow void
IsEmptyXml bool
IsNamespaceInherited bool
IsSuffix bool
LoadRow DataRow
MergeRow DataRow
MoveToElement bool
NewEmptyRow DataRow
NewIndexDesc IndexField[]
NewRecord int
NewRecord int
NewRecordFromArray int
NewRow DataRow
NewRowArray DataRow[]
NewRowCreated void
NewUninitializedRecord int
NewUninitializedRow DataRow
OnInitialized void
OnRemoveColumnInternal void
OnRowChanged DataRowChangeEventArgs
OnRowChanging DataRowChangeEventArgs
ParseSortString IndexField[]
RaisePropertyChanging void
RaiseRowChanged DataRowChangeEventArgs
RaiseRowChanging DataRowChangeEventArgs
RaiseRowChanging DataRowChangeEventArgs
ReadEndElement void
ReadXDRSchema void
ReadXSDSchema void
ReadXml XmlReadMode
ReadXml XmlReadMode
ReadXmlDiffgram void
ReadXmlSchema void
RecordChanged void
RecordChanged void
RecordStateChanged void
RecordStateChanged void
RemoveDependentColumn void
RemoveRecordFromIndexes int[]
RemoveRow void
ResetCaseSensitive void
ResetColumns void
ResetConstraints void
ResetIndexes void
ResetInternalIndexes void
ResetNamespace void
ResetPrimaryKey void
RestoreConstraint void
RestoreIndexEvents void
RestoreShadowIndexes void
RollbackRow void
SerializeConstraints void
SerializeDataTable void
SerializeExpressionColumns void
SerializeTableData void
SerializeTableSchema void
SetCaseSensitiveValue bool
SetDataRowWithLoadOption void
SetDataSet void
SetKeyValues void
SetLocaleValue bool
SetMergeRecords void
SetNewRecord void
SetNewRecordWorker void
SetOldRecord void
SetShadowIndexes void
ShadowIndexCopy void
ShouldSerializeCaseSensitive bool
ShouldSerializeLocale bool
ShouldSerializeNamespace bool
ShouldSerializePrimaryKey bool
SilentlySetValue void
SuspendIndexEvents void
UpdatePropertyDescriptorCollectionCache void
UpdatingAdd DataRow
UpdatingCurrent bool

Méthodes publiques

Méthode Description
AcceptChanges ( ) : void

Commits all the changes made to this table since the last time was called.

BeginInit ( ) : void
BeginLoadData ( ) : void
Clear ( ) : void

Clears the table of all data.

Clone ( ) : DataTable
Compute ( string expression, string filter ) : object

Computes the given expression on the current rows that pass the filter criteria.

Copy ( ) : DataTable
CreateDataReader ( ) : DataTableReader
DataTable ( ) : System.Collections

Initializes a new instance of the class with no arguments.

DataTable ( string tableName ) : System.Collections

Intitalizes a new instance of the class with the specified table name.

DataTable ( string tableName, string tableNamespace ) : System.Collections
EndInit ( ) : void
EndLoadData ( ) : void
GetChanges ( ) : DataTable
GetChanges ( DataRowState rowStates ) : DataTable
GetDataTableSchema ( XmlSchemaSet schemaSet ) : XmlSchemaComplexType
GetErrors ( ) : DataRow[]

Returns an array of objects that contain errors.

GetObjectData ( SerializationInfo info, StreamingContext context ) : void
ImportRow ( DataRow row ) : void
Load ( IDataReader reader ) : void
Load ( IDataReader reader, LoadOption loadOption ) : void
Load ( IDataReader reader, LoadOption loadOption, FillErrorEventHandler errorHandler ) : void
LoadDataRow ( object values, LoadOption loadOption ) : DataRow

Finds and updates a specific row. If no matching row is found, a new row is created using the given values.

LoadDataRow ( object values, bool fAcceptChanges ) : DataRow

Finds and updates a specific row. If no matching row is found, a new row is created using the given values.

Merge ( DataTable table ) : void
Merge ( DataTable table, bool preserveChanges ) : void
Merge ( DataTable table, bool preserveChanges, MissingSchemaAction missingSchemaAction ) : void
NewRow ( ) : DataRow

Creates a new with the same schema as the table.

ReadXml ( Stream stream ) : XmlReadMode
ReadXml ( TextReader reader ) : XmlReadMode
ReadXml ( XmlReader reader ) : XmlReadMode
ReadXml ( string fileName ) : XmlReadMode
ReadXmlSchema ( Stream stream ) : void
ReadXmlSchema ( TextReader reader ) : void
ReadXmlSchema ( XmlReader reader ) : void
ReadXmlSchema ( string fileName ) : void
RejectChanges ( ) : void

Rolls back all changes that have been made to the table since it was loaded, or the last time was called.

Reset ( ) : void
Select ( ) : DataRow[]

Returns an array of all objects.

Select ( string filterExpression ) : DataRow[]

Returns an array of all objects that match the filter criteria in order of primary key (or lacking one, order of addition.)

Select ( string filterExpression, string sort ) : DataRow[]

Returns an array of all objects that match the filter criteria, in the the specified sort order.

Select ( string filterExpression, string sort, DataViewRowState recordStates ) : DataRow[]

Returns an array of all objects that match the filter in the order of the sort, that match the specified state.

ToString ( ) : string

Returns the and , if there is one as a concatenated string.

WriteXml ( Stream stream ) : void
WriteXml ( Stream stream, XmlWriteMode mode ) : void
WriteXml ( Stream stream, XmlWriteMode mode, bool writeHierarchy ) : void
WriteXml ( Stream stream, bool writeHierarchy ) : void
WriteXml ( TextWriter writer ) : void
WriteXml ( TextWriter writer, XmlWriteMode mode ) : void
WriteXml ( TextWriter writer, XmlWriteMode mode, bool writeHierarchy ) : void
WriteXml ( TextWriter writer, bool writeHierarchy ) : void
WriteXml ( XmlWriter writer ) : void
WriteXml ( XmlWriter writer, XmlWriteMode mode ) : void
WriteXml ( XmlWriter writer, XmlWriteMode mode, bool writeHierarchy ) : void
WriteXml ( XmlWriter writer, bool writeHierarchy ) : void
WriteXml ( string fileName ) : void
WriteXml ( string fileName, XmlWriteMode mode ) : void
WriteXml ( string fileName, XmlWriteMode mode, bool writeHierarchy ) : void
WriteXml ( string fileName, bool writeHierarchy ) : void
WriteXmlSchema ( Stream stream ) : void
WriteXmlSchema ( Stream stream, bool writeHierarchy ) : void
WriteXmlSchema ( TextWriter writer ) : void
WriteXmlSchema ( TextWriter writer, bool writeHierarchy ) : void
WriteXmlSchema ( XmlWriter writer ) : void
WriteXmlSchema ( XmlWriter writer, bool writeHierarchy ) : void
WriteXmlSchema ( string fileName ) : void
WriteXmlSchema ( string fileName, bool writeHierarchy ) : void

Méthodes protégées

Méthode Description
DataTable ( SerializationInfo info, StreamingContext context ) : System.Collections
GetRowType ( ) : Type

Gets the row type.

GetSchema ( ) : XmlSchema
NewRowFromBuilder ( DataRowBuilder builder ) : DataRow
OnColumnChanged ( DataColumnChangeEventArgs e ) : void
OnColumnChanging ( DataColumnChangeEventArgs e ) : void
OnPropertyChanging ( PropertyChangedEventArgs pcevent ) : void
OnRemoveColumn ( DataColumn column ) : void

Notifies the that a is being removed.

OnRowChanged ( DataRowChangeEventArgs e ) : void

Raises the event.

OnRowChanging ( DataRowChangeEventArgs e ) : void

Raises the event.

OnRowDeleted ( DataRowChangeEventArgs e ) : void

Raises the event.

OnRowDeleting ( DataRowChangeEventArgs e ) : void

Raises the event.

OnTableCleared ( DataTableClearEventArgs e ) : void
OnTableClearing ( DataTableClearEventArgs e ) : void
OnTableNewRow ( DataTableNewRowEventArgs e ) : void
ReadXmlSerializable ( XmlReader reader ) : void

Private Methods

Méthode Description
AddDependentColumn ( DataColumn expressionColumn ) : void
AddForeignKey ( DataColumn parentKey ) : DataColumn
AddRecords ( int oldRecord, int newRecord ) : DataRow
AddRow ( DataRow row ) : void
AddRow ( DataRow row, int proposedID ) : void
AddUniqueKey ( ) : DataColumn
AddUniqueKey ( int position ) : DataColumn
CacheNestedParent ( ) : void
CascadeAll ( DataRow row, DataRowAction action ) : void
CheckCascadingNamespaceConflict ( string realNamespace ) : void
CheckForClosureOnExpressionTables ( List tableList ) : bool
CheckForClosureOnExpressions ( DataTable dt, bool writeHierarchy ) : bool
CheckNamespaceValidityForNestedParentRelations ( string ns, DataTable parentTable ) : void
CheckNamespaceValidityForNestedRelations ( string realNamespace ) : void
CheckNotModifying ( DataRow row ) : void
CheckPrimaryKey ( ) : void
Clear ( bool clearAll ) : void
Clone ( DataSet cloneDS ) : DataTable
CloneHierarchy ( DataTable sourceTable, DataSet ds, Hashtable visitedMap ) : DataTable
CloneTo ( DataTable clone, DataSet cloneDS, bool skipExpressionColumns ) : DataTable
CommitRow ( DataRow row ) : void
Compare ( string s1, string s2 ) : int
Compare ( string s1, string s2, CompareInfo comparer ) : int
ConvertToRowError ( int rowIndex, Hashtable rowErrors, Hashtable colErrors ) : void
ConvertToRowState ( BitArray bitStates, int bitIndex ) : DataRowState
CopyRow ( DataTable table, DataRow row ) : void
CreateEmptyRow ( ) : DataRow
CreateInstance ( ) : DataTable
CreateRelationList ( List tableList, List relationList ) : void
CreateTableList ( DataTable currentTable, List tableList ) : void
DeleteRow ( DataRow row ) : void
DeserializeConstraints ( SerializationInfo info, StreamingContext context, int serIndex, bool allConstraints ) : void
DeserializeDataTable ( SerializationInfo info, StreamingContext context, bool isSingleTable, SerializationFormat remotingFormat ) : void
DeserializeExpressionColumns ( SerializationInfo info, StreamingContext context, int serIndex ) : void
DeserializeTableData ( SerializationInfo info, StreamingContext context, int serIndex ) : void
DeserializeTableSchema ( SerializationInfo info, StreamingContext context, bool isSingleTable ) : void
DoRaiseNamespaceChange ( ) : void
EnableConstraints ( ) : void
EvaluateDependentExpressions ( DataColumn column ) : void
EvaluateDependentExpressions ( List columns, DataRow row, DataRowVersion version, List cachedRows ) : void
EvaluateExpressions ( ) : void
EvaluateExpressions ( DataColumn column ) : void
EvaluateExpressions ( DataRow row, DataRowAction action, List cachedRows ) : void
FindByIndex ( Index ndx, object key ) : DataRow
FindByPrimaryKey ( object values ) : DataRow
FindMergeTarget ( DataRow row, DataKey key, Index ndx ) : DataRow
FindNestedParentRelations ( ) : DataRelation[]
FindRow ( DataKey key, object values ) : DataRow
FormatSortString ( IndexField indexDesc ) : string
FreeRecord ( int &record ) : void
GetIndex ( IndexField indexDesc ) : Index
GetIndex ( IndexField indexDesc, DataViewRowState recordStates, IFilter rowFilter ) : Index
GetIndex ( string sort, DataViewRowState recordStates, IFilter rowFilter ) : Index
GetInheritedNamespace ( List visitedTables ) : string
GetListeners ( ) : List
GetPropertyDescriptorCollection ( Attribute attributes ) : PropertyDescriptorCollection

Retrieves an array of properties that the given component instance provides. This may differ from the set of properties the class provides. If the component is sited, the site may add or remove additional properties. The returned array of properties will be filtered by the given set of attributes.

GetRowAndColumnErrors ( int rowIndex, Hashtable rowErrors, Hashtable colErrors ) : void
GetSpecialHashCode ( string name ) : int
IListSource ( ) : IList
IXmlSerializable ( ) : XmlSchema
IXmlSerializable ( XmlReader reader ) : void
IXmlSerializable ( XmlWriter writer ) : void
IncrementalCloneTo ( DataTable sourceTable, DataTable targetTable ) : DataTable
IndexOf ( string s1, string s2 ) : int
InsertRecordToIndexes ( DataRow row, DataRowVersion version ) : int[]
InsertRow ( DataRow row, int proposedID, int pos ) : void
InsertRow ( DataRow row, long proposedID ) : void
InsertRow ( DataRow row, long proposedID, int pos, bool fireEvent ) : void
IsEmptyXml ( XmlReader reader ) : bool
IsNamespaceInherited ( ) : bool
IsSuffix ( string s1, string s2 ) : bool
LoadRow ( object values, LoadOption loadOption, Index searchIndex ) : DataRow
MergeRow ( DataRow row, DataRow targetRow, bool preserveChanges, Index idxSearch ) : DataRow
MoveToElement ( XmlReader reader, int depth ) : bool
NewEmptyRow ( ) : DataRow
NewIndexDesc ( DataKey key ) : IndexField[]
NewRecord ( ) : int
NewRecord ( int sourceRecord ) : int
NewRecordFromArray ( object value ) : int
NewRow ( int record ) : DataRow
NewRowArray ( int size ) : DataRow[]
NewRowCreated ( DataRow row ) : void
NewUninitializedRecord ( ) : int
NewUninitializedRow ( ) : DataRow
OnInitialized ( ) : void
OnRemoveColumnInternal ( DataColumn column ) : void
OnRowChanged ( DataRowChangeEventArgs args, DataRow eRow, DataRowAction eAction ) : DataRowChangeEventArgs
OnRowChanging ( DataRowChangeEventArgs args, DataRow eRow, DataRowAction eAction ) : DataRowChangeEventArgs
ParseSortString ( string sortString ) : IndexField[]
RaisePropertyChanging ( string name ) : void
RaiseRowChanged ( DataRowChangeEventArgs args, DataRow eRow, DataRowAction eAction ) : DataRowChangeEventArgs
RaiseRowChanging ( DataRowChangeEventArgs args, DataRow eRow, DataRowAction eAction ) : DataRowChangeEventArgs
RaiseRowChanging ( DataRowChangeEventArgs args, DataRow eRow, DataRowAction eAction, bool fireEvent ) : DataRowChangeEventArgs
ReadEndElement ( XmlReader reader ) : void
ReadXDRSchema ( XmlReader reader ) : void
ReadXSDSchema ( XmlReader reader, bool denyResolving ) : void
ReadXml ( XmlReader reader, XmlReadMode mode, bool denyResolving ) : XmlReadMode
ReadXml ( XmlReader reader, bool denyResolving ) : XmlReadMode
ReadXmlDiffgram ( XmlReader reader ) : void
ReadXmlSchema ( XmlReader reader, bool denyResolving ) : void
RecordChanged ( int record ) : void
RecordChanged ( int oldIndex, int newIndex ) : void
RecordStateChanged ( int record, DataViewRowState oldState, DataViewRowState newState ) : void
RecordStateChanged ( int record1, DataViewRowState oldState1, DataViewRowState newState1, int record2, DataViewRowState oldState2, DataViewRowState newState2 ) : void
RemoveDependentColumn ( DataColumn expressionColumn ) : void
RemoveRecordFromIndexes ( DataRow row, DataRowVersion version ) : int[]
RemoveRow ( DataRow row, bool check ) : void
ResetCaseSensitive ( ) : void
ResetColumns ( ) : void
ResetConstraints ( ) : void

Resets the property to its default state.

ResetIndexes ( ) : void
ResetInternalIndexes ( DataColumn column ) : void
ResetNamespace ( ) : void

Resets the property to its default state.

ResetPrimaryKey ( ) : void

Resets the property to its default state.

RestoreConstraint ( bool originalEnforceConstraint ) : void
RestoreIndexEvents ( bool forceReset ) : void
RestoreShadowIndexes ( ) : void
RollbackRow ( DataRow row ) : void
SerializeConstraints ( SerializationInfo info, StreamingContext context, int serIndex, bool allConstraints ) : void
SerializeDataTable ( SerializationInfo info, StreamingContext context, bool isSingleTable, SerializationFormat remotingFormat ) : void
SerializeExpressionColumns ( SerializationInfo info, StreamingContext context, int serIndex ) : void
SerializeTableData ( SerializationInfo info, StreamingContext context, int serIndex ) : void
SerializeTableSchema ( SerializationInfo info, StreamingContext context, bool isSingleTable ) : void
SetCaseSensitiveValue ( bool isCaseSensitive, bool userSet, bool resetIndexes ) : bool
SetDataRowWithLoadOption ( DataRow dataRow, int recordNo, LoadOption loadOption, bool checkReadOnly ) : void
SetDataSet ( DataSet dataSet ) : void

Internal method for setting the DataSet pointer.

SetKeyValues ( DataKey key, object keyValues, int record ) : void
SetLocaleValue ( CultureInfo culture, bool userSet, bool resetIndexes ) : bool
SetMergeRecords ( DataRow row, int newRecord, int oldRecord, DataRowAction action ) : void
SetNewRecord ( DataRow row, int proposedRecord, DataRowAction action = DataRowAction.Change, bool isInMerge = false, bool fireEvent = true, bool suppressEnsurePropertyChanged = false ) : void
SetNewRecordWorker ( DataRow row, int proposedRecord, DataRowAction action, bool isInMerge, bool suppressEnsurePropertyChanged, int position, bool fireEvent, Exception &deferredException ) : void
SetOldRecord ( DataRow row, int proposedRecord ) : void
SetShadowIndexes ( ) : void
ShadowIndexCopy ( ) : void
ShouldSerializeCaseSensitive ( ) : bool
ShouldSerializeLocale ( ) : bool
ShouldSerializeNamespace ( ) : bool

Indicates whether the property should be persisted.

ShouldSerializePrimaryKey ( ) : bool

Indicates whether the property should be persisted.

SilentlySetValue ( DataRow dr, DataColumn dc, DataRowVersion version, object newValue ) : void
SuspendIndexEvents ( ) : void
UpdatePropertyDescriptorCollectionCache ( ) : void
UpdatingAdd ( object values ) : DataRow
UpdatingCurrent ( DataRow row, DataRowAction action ) : bool

Method Details

AcceptChanges() public méthode

Commits all the changes made to this table since the last time was called.
public AcceptChanges ( ) : void
Résultat void

BeginInit() public méthode

public BeginInit ( ) : void
Résultat void

BeginLoadData() public méthode

public BeginLoadData ( ) : void
Résultat void

Clear() public méthode

Clears the table of all data.
public Clear ( ) : void
Résultat void

Clone() public méthode

public Clone ( ) : DataTable
Résultat DataTable

Compute() public méthode

Computes the given expression on the current rows that pass the filter criteria.
public Compute ( string expression, string filter ) : object
expression string
filter string
Résultat object

Copy() public méthode

public Copy ( ) : DataTable
Résultat DataTable

CreateDataReader() public méthode

public CreateDataReader ( ) : DataTableReader
Résultat DataTableReader

DataTable() public méthode

Initializes a new instance of the class with no arguments.
public DataTable ( ) : System.Collections
Résultat System.Collections

DataTable() protected méthode

protected DataTable ( SerializationInfo info, StreamingContext context ) : System.Collections
info SerializationInfo
context StreamingContext
Résultat System.Collections

DataTable() public méthode

Intitalizes a new instance of the class with the specified table name.
public DataTable ( string tableName ) : System.Collections
tableName string
Résultat System.Collections

DataTable() public méthode

public DataTable ( string tableName, string tableNamespace ) : System.Collections
tableName string
tableNamespace string
Résultat System.Collections

EndInit() public méthode

public EndInit ( ) : void
Résultat void

EndLoadData() public méthode

public EndLoadData ( ) : void
Résultat void

GetChanges() public méthode

public GetChanges ( ) : DataTable
Résultat DataTable

GetChanges() public méthode

public GetChanges ( DataRowState rowStates ) : DataTable
rowStates DataRowState
Résultat DataTable

GetDataTableSchema() public static méthode

public static GetDataTableSchema ( XmlSchemaSet schemaSet ) : XmlSchemaComplexType
schemaSet XmlSchemaSet
Résultat XmlSchemaComplexType

GetErrors() public méthode

Returns an array of objects that contain errors.
public GetErrors ( ) : DataRow[]
Résultat DataRow[]

GetObjectData() public méthode

public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info SerializationInfo
context StreamingContext
Résultat void

GetRowType() protected méthode

Gets the row type.
protected GetRowType ( ) : Type
Résultat Type

GetSchema() protected méthode

protected GetSchema ( ) : XmlSchema
Résultat XmlSchema

ImportRow() public méthode

public ImportRow ( DataRow row ) : void
row DataRow
Résultat void

Load() public méthode

public Load ( IDataReader reader ) : void
reader IDataReader
Résultat void

Load() public méthode

public Load ( IDataReader reader, LoadOption loadOption ) : void
reader IDataReader
loadOption LoadOption
Résultat void

Load() public méthode

public Load ( IDataReader reader, LoadOption loadOption, FillErrorEventHandler errorHandler ) : void
reader IDataReader
loadOption LoadOption
errorHandler FillErrorEventHandler
Résultat void

LoadDataRow() public méthode

Finds and updates a specific row. If no matching row is found, a new row is created using the given values.
public LoadDataRow ( object values, LoadOption loadOption ) : DataRow
values object
loadOption LoadOption
Résultat DataRow

LoadDataRow() public méthode

Finds and updates a specific row. If no matching row is found, a new row is created using the given values.
public LoadDataRow ( object values, bool fAcceptChanges ) : DataRow
values object
fAcceptChanges bool
Résultat DataRow

Merge() public méthode

public Merge ( DataTable table ) : void
table DataTable
Résultat void

Merge() public méthode

public Merge ( DataTable table, bool preserveChanges ) : void
table DataTable
preserveChanges bool
Résultat void

Merge() public méthode

public Merge ( DataTable table, bool preserveChanges, MissingSchemaAction missingSchemaAction ) : void
table DataTable
preserveChanges bool
missingSchemaAction MissingSchemaAction
Résultat void

NewRow() public méthode

Creates a new with the same schema as the table.
public NewRow ( ) : DataRow
Résultat DataRow

NewRowFromBuilder() protected méthode

protected NewRowFromBuilder ( DataRowBuilder builder ) : DataRow
builder DataRowBuilder
Résultat DataRow

OnColumnChanged() protected méthode

protected OnColumnChanged ( DataColumnChangeEventArgs e ) : void
e DataColumnChangeEventArgs
Résultat void

OnColumnChanging() protected méthode

protected OnColumnChanging ( DataColumnChangeEventArgs e ) : void
e DataColumnChangeEventArgs
Résultat void

OnPropertyChanging() protected méthode

protected OnPropertyChanging ( PropertyChangedEventArgs pcevent ) : void
pcevent PropertyChangedEventArgs
Résultat void

OnRemoveColumn() protected méthode

Notifies the that a is being removed.
protected OnRemoveColumn ( DataColumn column ) : void
column DataColumn
Résultat void

OnRowChanged() protected méthode

Raises the event.
protected OnRowChanged ( DataRowChangeEventArgs e ) : void
e DataRowChangeEventArgs
Résultat void

OnRowChanging() protected méthode

Raises the event.
protected OnRowChanging ( DataRowChangeEventArgs e ) : void
e DataRowChangeEventArgs
Résultat void

OnRowDeleted() protected méthode

Raises the event.
protected OnRowDeleted ( DataRowChangeEventArgs e ) : void
e DataRowChangeEventArgs
Résultat void

OnRowDeleting() protected méthode

Raises the event.
protected OnRowDeleting ( DataRowChangeEventArgs e ) : void
e DataRowChangeEventArgs
Résultat void

OnTableCleared() protected méthode

protected OnTableCleared ( DataTableClearEventArgs e ) : void
e DataTableClearEventArgs
Résultat void

OnTableClearing() protected méthode

protected OnTableClearing ( DataTableClearEventArgs e ) : void
e DataTableClearEventArgs
Résultat void

OnTableNewRow() protected méthode

protected OnTableNewRow ( DataTableNewRowEventArgs e ) : void
e DataTableNewRowEventArgs
Résultat void

ReadXml() public méthode

public ReadXml ( Stream stream ) : XmlReadMode
stream Stream
Résultat XmlReadMode

ReadXml() public méthode

public ReadXml ( TextReader reader ) : XmlReadMode
reader TextReader
Résultat XmlReadMode

ReadXml() public méthode

public ReadXml ( XmlReader reader ) : XmlReadMode
reader XmlReader
Résultat XmlReadMode

ReadXml() public méthode

public ReadXml ( string fileName ) : XmlReadMode
fileName string
Résultat XmlReadMode

ReadXmlSchema() public méthode

public ReadXmlSchema ( Stream stream ) : void
stream Stream
Résultat void

ReadXmlSchema() public méthode

public ReadXmlSchema ( TextReader reader ) : void
reader TextReader
Résultat void

ReadXmlSchema() public méthode

public ReadXmlSchema ( XmlReader reader ) : void
reader XmlReader
Résultat void

ReadXmlSchema() public méthode

public ReadXmlSchema ( string fileName ) : void
fileName string
Résultat void

ReadXmlSerializable() protected méthode

protected ReadXmlSerializable ( XmlReader reader ) : void
reader XmlReader
Résultat void

RejectChanges() public méthode

Rolls back all changes that have been made to the table since it was loaded, or the last time was called.
public RejectChanges ( ) : void
Résultat void

Reset() public méthode

public Reset ( ) : void
Résultat void

Select() public méthode

Returns an array of all objects.
public Select ( ) : DataRow[]
Résultat DataRow[]

Select() public méthode

Returns an array of all objects that match the filter criteria in order of primary key (or lacking one, order of addition.)
public Select ( string filterExpression ) : DataRow[]
filterExpression string
Résultat DataRow[]

Select() public méthode

Returns an array of all objects that match the filter criteria, in the the specified sort order.
public Select ( string filterExpression, string sort ) : DataRow[]
filterExpression string
sort string
Résultat DataRow[]

Select() public méthode

Returns an array of all objects that match the filter in the order of the sort, that match the specified state.
public Select ( string filterExpression, string sort, DataViewRowState recordStates ) : DataRow[]
filterExpression string
sort string
recordStates DataViewRowState
Résultat DataRow[]

ToString() public méthode

Returns the and , if there is one as a concatenated string.
public ToString ( ) : string
Résultat string

WriteXml() public méthode

public WriteXml ( Stream stream ) : void
stream Stream
Résultat void

WriteXml() public méthode

public WriteXml ( Stream stream, XmlWriteMode mode ) : void
stream Stream
mode XmlWriteMode
Résultat void

WriteXml() public méthode

public WriteXml ( Stream stream, XmlWriteMode mode, bool writeHierarchy ) : void
stream Stream
mode XmlWriteMode
writeHierarchy bool
Résultat void

WriteXml() public méthode

public WriteXml ( Stream stream, bool writeHierarchy ) : void
stream Stream
writeHierarchy bool
Résultat void

WriteXml() public méthode

public WriteXml ( TextWriter writer ) : void
writer TextWriter
Résultat void

WriteXml() public méthode

public WriteXml ( TextWriter writer, XmlWriteMode mode ) : void
writer TextWriter
mode XmlWriteMode
Résultat void

WriteXml() public méthode

public WriteXml ( TextWriter writer, XmlWriteMode mode, bool writeHierarchy ) : void
writer TextWriter
mode XmlWriteMode
writeHierarchy bool
Résultat void

WriteXml() public méthode

public WriteXml ( TextWriter writer, bool writeHierarchy ) : void
writer TextWriter
writeHierarchy bool
Résultat void

WriteXml() public méthode

public WriteXml ( XmlWriter writer ) : void
writer XmlWriter
Résultat void

WriteXml() public méthode

public WriteXml ( XmlWriter writer, XmlWriteMode mode ) : void
writer XmlWriter
mode XmlWriteMode
Résultat void

WriteXml() public méthode

public WriteXml ( XmlWriter writer, XmlWriteMode mode, bool writeHierarchy ) : void
writer XmlWriter
mode XmlWriteMode
writeHierarchy bool
Résultat void

WriteXml() public méthode

public WriteXml ( XmlWriter writer, bool writeHierarchy ) : void
writer XmlWriter
writeHierarchy bool
Résultat void

WriteXml() public méthode

public WriteXml ( string fileName ) : void
fileName string
Résultat void

WriteXml() public méthode

public WriteXml ( string fileName, XmlWriteMode mode ) : void
fileName string
mode XmlWriteMode
Résultat void

WriteXml() public méthode

public WriteXml ( string fileName, XmlWriteMode mode, bool writeHierarchy ) : void
fileName string
mode XmlWriteMode
writeHierarchy bool
Résultat void

WriteXml() public méthode

public WriteXml ( string fileName, bool writeHierarchy ) : void
fileName string
writeHierarchy bool
Résultat void

WriteXmlSchema() public méthode

public WriteXmlSchema ( Stream stream ) : void
stream Stream
Résultat void

WriteXmlSchema() public méthode

public WriteXmlSchema ( Stream stream, bool writeHierarchy ) : void
stream Stream
writeHierarchy bool
Résultat void

WriteXmlSchema() public méthode

public WriteXmlSchema ( TextWriter writer ) : void
writer TextWriter
Résultat void

WriteXmlSchema() public méthode

public WriteXmlSchema ( TextWriter writer, bool writeHierarchy ) : void
writer TextWriter
writeHierarchy bool
Résultat void

WriteXmlSchema() public méthode

public WriteXmlSchema ( XmlWriter writer ) : void
writer XmlWriter
Résultat void

WriteXmlSchema() public méthode

public WriteXmlSchema ( XmlWriter writer, bool writeHierarchy ) : void
writer XmlWriter
writeHierarchy bool
Résultat void

WriteXmlSchema() public méthode

public WriteXmlSchema ( string fileName ) : void
fileName string
Résultat void

WriteXmlSchema() public méthode

public WriteXmlSchema ( string fileName, bool writeHierarchy ) : void
fileName string
writeHierarchy bool
Résultat void

Property Details

fInitInProgress protected_oe property

protected bool fInitInProgress
Résultat bool