C# Class System.Data.DataView

Inheritance: System.ComponentModel.MarshalByValueComponent, IEnumerable, ISupportInitialize
Mostra file Open project: kumpera/mono Class Usage Examples

Private Properties

Property Type Description
ChangedList void
CompleteLastAdded void
CreateChildView DataView
DataView System
DataView System
DataViewInitialized void
GetRecord int
GetRowVersion DataRowVersion
ITypedList System.ComponentModel.PropertyDescriptorCollection
IndexOf int
InitDataRowViewArray void
OnColumnChanged void
OnConstraintCollectionChanged void
OnRelationCollectionChanged void
OnRowChanged void
OnRowCollectionChanged void
OnRowDeleted void
PopulateDefaultSort void
PopulateDefaultSort void
RegisterEventHandlers void
UnregisterEventHandlers void
this DataRowView

Public Methods

Method Description
AddNew ( ) : DataRowView
BeginInit ( ) : void
CopyTo ( Array array, int index ) : void
DataView ( ) : System
DataView ( DataTable table ) : System
DataView ( DataTable table, string RowFilter, string Sort, DataViewRowState RowState ) : System
Delete ( int index ) : void
EndInit ( ) : void
Find ( object key ) : int
FindRows ( object key ) : System.Data.DataRowView[]
GetEnumerator ( ) : IEnumerator

Protected Methods

Method Description
Close ( ) : void
ColumnCollectionChanged ( object sender, CollectionChangeEventArgs e ) : void
Dispose ( bool disposing ) : void
IndexListChanged ( object sender, ListChangedEventArgs e ) : void
OnListChanged ( ListChangedEventArgs e ) : void
Open ( ) : void
Reset ( ) : void
UpdateIndex ( ) : void
UpdateIndex ( bool force ) : void

Private Methods

Method Description
ChangedList ( ListChangedType listChangedType, int newIndex, int oldIndex ) : void
CompleteLastAdded ( bool add ) : void
CreateChildView ( DataRelation relation, int index ) : DataView
DataView ( DataTable table, DataViewManager manager ) : System
DataView ( DataTable table, DataViewManager manager, string RowFilter, string Sort, DataViewRowState RowState ) : System
DataViewInitialized ( bool value ) : void
GetRecord ( int index ) : int
GetRowVersion ( int index ) : DataRowVersion
ITypedList ( PropertyDescriptor listAccessors ) : PropertyDescriptorCollection
IndexOf ( DataRow dr ) : int
InitDataRowViewArray ( int records, int size ) : void
OnColumnChanged ( object sender, DataColumnChangeEventArgs args ) : void
OnConstraintCollectionChanged ( object sender, CollectionChangeEventArgs args ) : void
OnRelationCollectionChanged ( object sender, CollectionChangeEventArgs args ) : void
OnRowChanged ( object sender, DataRowChangeEventArgs args ) : void
OnRowCollectionChanged ( object sender, ListChangedEventArgs args ) : void
OnRowDeleted ( object sender, DataRowChangeEventArgs args ) : void
PopulateDefaultSort ( ) : void
PopulateDefaultSort ( UniqueConstraint uc ) : void
RegisterEventHandlers ( ) : void
UnregisterEventHandlers ( ) : void
this ( int recordIndex ) : DataRowView

Method Details

AddNew() public method

public AddNew ( ) : DataRowView
return DataRowView

BeginInit() public method

public BeginInit ( ) : void
return void

Close() protected method

protected Close ( ) : void
return void

ColumnCollectionChanged() protected method

protected ColumnCollectionChanged ( object sender, CollectionChangeEventArgs e ) : void
sender object
e System.ComponentModel.CollectionChangeEventArgs
return void

CopyTo() public method

public CopyTo ( Array array, int index ) : void
array System.Array
index int
return void

DataView() public method

public DataView ( ) : System
return System

DataView() public method

public DataView ( DataTable table ) : System
table DataTable
return System

DataView() public method

public DataView ( DataTable table, string RowFilter, string Sort, DataViewRowState RowState ) : System
table DataTable
RowFilter string
Sort string
RowState DataViewRowState
return System

Delete() public method

public Delete ( int index ) : void
index int
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

EndInit() public method

public EndInit ( ) : void
return void

Find() public method

public Find ( object key ) : int
key object
return int

FindRows() public method

public FindRows ( object key ) : System.Data.DataRowView[]
key object
return System.Data.DataRowView[]

GetEnumerator() public method

public GetEnumerator ( ) : IEnumerator
return IEnumerator

IndexListChanged() protected method

protected IndexListChanged ( object sender, ListChangedEventArgs e ) : void
sender object
e System.ComponentModel.ListChangedEventArgs
return void

OnListChanged() protected method

protected OnListChanged ( ListChangedEventArgs e ) : void
e System.ComponentModel.ListChangedEventArgs
return void

Open() protected method

protected Open ( ) : void
return void

Reset() protected method

protected Reset ( ) : void
return void

UpdateIndex() protected method

protected UpdateIndex ( ) : void
return void

UpdateIndex() protected method

protected UpdateIndex ( bool force ) : void
force bool
return void