C# Class System.Data.DataRowView

Inheritance: ICustomTypeDescriptor, IEditableObject, IDataErrorInfo, INotifyPropertyChanged
Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Private Properties

Свойство Type Description
DataRowView System.ComponentModel
GetColumnValue object
GetRecord int
HasRecord bool
ICustomTypeDescriptor System.ComponentModel.AttributeCollection
ICustomTypeDescriptor System.ComponentModel.EventDescriptor
ICustomTypeDescriptor System.ComponentModel.EventDescriptorCollection
ICustomTypeDescriptor System.ComponentModel.EventDescriptorCollection
ICustomTypeDescriptor System.ComponentModel.PropertyDescriptor
ICustomTypeDescriptor System.ComponentModel.PropertyDescriptorCollection
ICustomTypeDescriptor System.ComponentModel.PropertyDescriptorCollection
ICustomTypeDescriptor System.ComponentModel.TypeConverter
ICustomTypeDescriptor object
ICustomTypeDescriptor object
ICustomTypeDescriptor string
RaisePropertyChangedEvent void
SetColumnValue void
this stringIDataErrorInfo.System.ComponentModel

Méthodes publiques

Méthode Description
BeginEdit ( ) : void
CancelEdit ( ) : void
CreateChildView ( DataRelation relation ) : DataView
CreateChildView ( DataRelation relation, bool followParent ) : DataView

Returns a System.Data.DataView for the child System.Data.DataTable with the specified System.Data.DataRelation.

CreateChildView ( string relationName ) : DataView
CreateChildView ( string relationName, bool followParent ) : DataView

CreateChildView(DataRelation)

Delete ( ) : void
EndEdit ( ) : void
Equals ( object other ) : bool Checks for same reference instead of equivalent DataView or Row. Necessary for ListChanged event handlers to use data structures that use the default to object.Equals(object) instead of object.ReferenceEquals to understand if they need to add a PropertyChanged event handler.
GetHashCode ( ) : int
this ( int ndx ) : object

Gets or sets a value in specified column.

Uses either DataRowVersion.Default or DataRowVersion.Original to access Row

this ( string property ) : object

Gets the specified column value or related child view or sets a value in specified column.

Private Methods

Méthode Description
DataRowView ( DataView dataView, DataRow row ) : System.ComponentModel
GetColumnValue ( DataColumn column ) : object
GetRecord ( ) : int
HasRecord ( ) : bool
ICustomTypeDescriptor ( ) : AttributeCollection
ICustomTypeDescriptor ( ) : System.ComponentModel.EventDescriptor
ICustomTypeDescriptor ( ) : EventDescriptorCollection
ICustomTypeDescriptor ( Attribute attributes ) : EventDescriptorCollection
ICustomTypeDescriptor ( ) : PropertyDescriptor
ICustomTypeDescriptor ( ) : PropertyDescriptorCollection
ICustomTypeDescriptor ( Attribute attributes ) : PropertyDescriptorCollection
ICustomTypeDescriptor ( ) : TypeConverter
ICustomTypeDescriptor ( PropertyDescriptor pd ) : object
ICustomTypeDescriptor ( Type editorBaseType ) : object
ICustomTypeDescriptor ( ) : string
RaisePropertyChangedEvent ( string propName ) : void
SetColumnValue ( DataColumn column, object value ) : void
this ( string colName ) : stringIDataErrorInfo.System.ComponentModel

Method Details

BeginEdit() public méthode

public BeginEdit ( ) : void
Résultat void

CancelEdit() public méthode

public CancelEdit ( ) : void
Résultat void

CreateChildView() public méthode

public CreateChildView ( DataRelation relation ) : DataView
relation DataRelation
Résultat DataView

CreateChildView() public méthode

Returns a System.Data.DataView for the child System.Data.DataTable with the specified System.Data.DataRelation.
null or mismatch between and .
public CreateChildView ( DataRelation relation, bool followParent ) : DataView
relation DataRelation Specified .
followParent bool
Résultat DataView

CreateChildView() public méthode

public CreateChildView ( string relationName ) : DataView
relationName string
Résultat DataView

CreateChildView() public méthode

CreateChildView(DataRelation)
Unmatched .
public CreateChildView ( string relationName, bool followParent ) : DataView
relationName string Specified name.
followParent bool
Résultat DataView

Delete() public méthode

public Delete ( ) : void
Résultat void

EndEdit() public méthode

public EndEdit ( ) : void
Résultat void

Equals() public méthode

Checks for same reference instead of equivalent DataView or Row. Necessary for ListChanged event handlers to use data structures that use the default to object.Equals(object) instead of object.ReferenceEquals to understand if they need to add a PropertyChanged event handler.
public Equals ( object other ) : bool
other object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

this() public méthode

Gets or sets a value in specified column.
Uses either DataRowVersion.Default or DataRowVersion.Original to access Row
when setting a value.
public this ( int ndx ) : object
ndx int Specified column index.
Résultat object

this() public méthode

Gets the specified column value or related child view or sets a value in specified column.
when is ambigous. Unmatched when getting a value. Unmatched when setting a value. when setting a value.
public this ( string property ) : object
property string Specified column or relation name when getting. Specified column name when setting.
Résultat object