C# 클래스 System.Data.DataRow

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

Private Properties

프로퍼티 타입 설명
BeginEdit void
BeginEditInternal bool
CancelEdit void
CheckColumn void
CheckForLoops void
CheckInTable void
ClearError void
CopyValuesIntoStore int
EndEdit void
GetColumnValues object[]
GetColumnValues object[]
GetCurrentRecordNo int
GetDataColumn DataColumn
GetDefaultRecord int
GetDefaultRowVersion DataRowVersion
GetKeyValues object[]
GetKeyValues object[]
GetNestedParentCount int
GetNestedParentRow DataRow
GetOriginalRecordNo int
GetProposedRecordNo int
GetRecordFromVersion int
GetRecordState DataViewRowState
HasChanges bool
HasKeyChanged bool
HasKeyChanged bool
HaveValuesChanged bool
HaveValuesChanged bool
ResetLastChangedColumn void
RowErrorChanged void
SetKeyValues void
SetNestedParentRow void
SetParentRowToDBNull void
SetParentRowToDBNull void
VerifyValueFromStorage void

공개 메소드들

메소드 설명
AcceptChanges ( ) : void

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

ClearErrors ( ) : void

Clears the errors for the row, including the and errors set with

Delete ( ) : void

Deletes the row.

GetChildRows ( DataRelation relation ) : System.Data.DataRow[]

Gets the child rows of this using the specified .

GetChildRows ( DataRelation relation, DataRowVersion version ) : System.Data.DataRow[]

Gets the child rows of this using the specified and the specified

GetChildRows ( string relationName ) : System.Data.DataRow[]
GetChildRows ( string relationName, DataRowVersion version ) : System.Data.DataRow[]
GetColumnError ( DataColumn column ) : string

Gets the error description of the specified .

GetColumnError ( int columnIndex ) : string

Gets the error description for the column specified by index.

GetColumnError ( string columnName ) : string

Gets the error description for a column, specified by name.

GetColumnsInError ( ) : System.Data.DataColumn[]

Gets an array of columns that have errors.

GetParentRow ( DataRelation relation ) : DataRow

Gets the parent row of this using the specified .

GetParentRow ( DataRelation relation, DataRowVersion version ) : DataRow

Gets the parent row of this using the specified and .

GetParentRow ( string relationName ) : DataRow
GetParentRow ( string relationName, DataRowVersion version ) : DataRow
GetParentRows ( DataRelation relation ) : System.Data.DataRow[]

Gets the parent rows of this using the specified .

GetParentRows ( DataRelation relation, DataRowVersion version ) : System.Data.DataRow[]

Gets the parent rows of this using the specified .

GetParentRows ( string relationName ) : System.Data.DataRow[]
GetParentRows ( string relationName, DataRowVersion version ) : System.Data.DataRow[]
HasVersion ( DataRowVersion version ) : bool

Gets a value indicating whether a specified version exists.

IsNull ( DataColumn column ) : bool

Gets a value indicating whether the specified contains a null value.

IsNull ( DataColumn column, DataRowVersion version ) : bool
IsNull ( int columnIndex ) : bool

Gets a value indicating whether the column at the specified index contains a null value.

IsNull ( string columnName ) : bool

Gets a value indicating whether the named column contains a null value.

RejectChanges ( ) : void

Rejects all changes made to the row since was last called.

SetAdded ( ) : void
SetColumnError ( DataColumn column, string error ) : void

Sets the error description for a column specified as a .

SetColumnError ( int columnIndex, string error ) : void

Sets the error description for a column specified by index.

SetColumnError ( string columnName, string error ) : void

Sets the error description for a column specified by name.

SetModified ( ) : void
SetParentRow ( DataRow parentRow ) : void
SetParentRow ( DataRow parentRow, DataRelation relation ) : void

Sets current row's parent row with specified relation.

this ( DataColumn column ) : object

Gets or sets the data stored in the specified .

this ( DataColumn column, DataRowVersion version ) : object

Gets the specified version of data stored in the specified .

this ( int columnIndex ) : object

Gets or sets the data stored in the column specified by index.

this ( int columnIndex, DataRowVersion version ) : object

Gets the data stored in the column, specified by index and version of the data to retrieve.

this ( string columnName ) : object

Gets or sets the data stored in the column specified by name.

this ( string columnName, DataRowVersion version ) : object

Gets the specified version of data stored in the named column.

보호된 메소드들

메소드 설명
DataRow ( DataRowBuilder builder ) : System.Collections

Initializes a new instance of the DataRow. Constructs a row from the builder. Only for internal usage..

SetNull ( DataColumn column ) : void

Sets the specified column's value to a null value.

비공개 메소드들

메소드 설명
BeginEdit ( ) : void
BeginEditInternal ( ) : bool
CancelEdit ( ) : void
CheckColumn ( DataColumn column ) : void
CheckForLoops ( DataRelation rel ) : void
CheckInTable ( ) : void

Throws a RowNotInTableException if row isn't in table.

ClearError ( DataColumn column ) : void
CopyValuesIntoStore ( ArrayList storeList, ArrayList nullbitList, int storeIndex ) : int
EndEdit ( ) : void
GetColumnValues ( DataColumn columns ) : object[]
GetColumnValues ( DataColumn columns, DataRowVersion version ) : object[]
GetCurrentRecordNo ( ) : int
GetDataColumn ( string columnName ) : DataColumn
GetDefaultRecord ( ) : int
GetDefaultRowVersion ( DataViewRowState viewState ) : DataRowVersion
GetKeyValues ( DataKey key ) : object[]
GetKeyValues ( DataKey key, DataRowVersion version ) : object[]
GetNestedParentCount ( ) : int
GetNestedParentRow ( DataRowVersion version ) : DataRow
GetOriginalRecordNo ( ) : int
GetProposedRecordNo ( ) : int
GetRecordFromVersion ( DataRowVersion version ) : int
GetRecordState ( int record ) : DataViewRowState
HasChanges ( ) : bool
HasKeyChanged ( DataKey key ) : bool
HasKeyChanged ( DataKey key, DataRowVersion version1, DataRowVersion version2 ) : bool
HaveValuesChanged ( DataColumn columns ) : bool
HaveValuesChanged ( DataColumn columns, DataRowVersion version1, DataRowVersion version2 ) : bool
ResetLastChangedColumn ( ) : void
RowErrorChanged ( ) : void
SetKeyValues ( DataKey key, object keyValues ) : void
SetNestedParentRow ( DataRow parentRow, bool setNonNested ) : void
SetParentRowToDBNull ( ) : void
SetParentRowToDBNull ( DataRelation relation ) : void
VerifyValueFromStorage ( DataColumn column, DataRowVersion version, object valueFromStorage ) : void

메소드 상세

AcceptChanges() 공개 메소드

Commits all the changes made to this row since the last time was called.
public AcceptChanges ( ) : void
리턴 void

ClearErrors() 공개 메소드

Clears the errors for the row, including the and errors set with
public ClearErrors ( ) : void
리턴 void

DataRow() 보호된 메소드

Initializes a new instance of the DataRow. Constructs a row from the builder. Only for internal usage..
protected DataRow ( DataRowBuilder builder ) : System.Collections
builder DataRowBuilder
리턴 System.Collections

Delete() 공개 메소드

Deletes the row.
public Delete ( ) : void
리턴 void

GetChildRows() 공개 메소드

Gets the child rows of this using the specified .
public GetChildRows ( DataRelation relation ) : System.Data.DataRow[]
relation DataRelation
리턴 System.Data.DataRow[]

GetChildRows() 공개 메소드

Gets the child rows of this using the specified and the specified
public GetChildRows ( DataRelation relation, DataRowVersion version ) : System.Data.DataRow[]
relation DataRelation
version DataRowVersion
리턴 System.Data.DataRow[]

GetChildRows() 공개 메소드

public GetChildRows ( string relationName ) : System.Data.DataRow[]
relationName string
리턴 System.Data.DataRow[]

GetChildRows() 공개 메소드

public GetChildRows ( string relationName, DataRowVersion version ) : System.Data.DataRow[]
relationName string
version DataRowVersion
리턴 System.Data.DataRow[]

GetColumnError() 공개 메소드

Gets the error description of the specified .
public GetColumnError ( DataColumn column ) : string
column DataColumn
리턴 string

GetColumnError() 공개 메소드

Gets the error description for the column specified by index.
public GetColumnError ( int columnIndex ) : string
columnIndex int
리턴 string

GetColumnError() 공개 메소드

Gets the error description for a column, specified by name.
public GetColumnError ( string columnName ) : string
columnName string
리턴 string

GetColumnsInError() 공개 메소드

Gets an array of columns that have errors.
public GetColumnsInError ( ) : System.Data.DataColumn[]
리턴 System.Data.DataColumn[]

GetParentRow() 공개 메소드

Gets the parent row of this using the specified .
public GetParentRow ( DataRelation relation ) : DataRow
relation DataRelation
리턴 DataRow

GetParentRow() 공개 메소드

Gets the parent row of this using the specified and .
public GetParentRow ( DataRelation relation, DataRowVersion version ) : DataRow
relation DataRelation
version DataRowVersion
리턴 DataRow

GetParentRow() 공개 메소드

public GetParentRow ( string relationName ) : DataRow
relationName string
리턴 DataRow

GetParentRow() 공개 메소드

public GetParentRow ( string relationName, DataRowVersion version ) : DataRow
relationName string
version DataRowVersion
리턴 DataRow

GetParentRows() 공개 메소드

Gets the parent rows of this using the specified .
public GetParentRows ( DataRelation relation ) : System.Data.DataRow[]
relation DataRelation
리턴 System.Data.DataRow[]

GetParentRows() 공개 메소드

Gets the parent rows of this using the specified .
public GetParentRows ( DataRelation relation, DataRowVersion version ) : System.Data.DataRow[]
relation DataRelation
version DataRowVersion
리턴 System.Data.DataRow[]

GetParentRows() 공개 메소드

public GetParentRows ( string relationName ) : System.Data.DataRow[]
relationName string
리턴 System.Data.DataRow[]

GetParentRows() 공개 메소드

public GetParentRows ( string relationName, DataRowVersion version ) : System.Data.DataRow[]
relationName string
version DataRowVersion
리턴 System.Data.DataRow[]

HasVersion() 공개 메소드

Gets a value indicating whether a specified version exists.
public HasVersion ( DataRowVersion version ) : bool
version DataRowVersion
리턴 bool

IsNull() 공개 메소드

Gets a value indicating whether the specified contains a null value.
public IsNull ( DataColumn column ) : bool
column DataColumn
리턴 bool

IsNull() 공개 메소드

public IsNull ( DataColumn column, DataRowVersion version ) : bool
column DataColumn
version DataRowVersion
리턴 bool

IsNull() 공개 메소드

Gets a value indicating whether the column at the specified index contains a null value.
public IsNull ( int columnIndex ) : bool
columnIndex int
리턴 bool

IsNull() 공개 메소드

Gets a value indicating whether the named column contains a null value.
public IsNull ( string columnName ) : bool
columnName string
리턴 bool

RejectChanges() 공개 메소드

Rejects all changes made to the row since was last called.
public RejectChanges ( ) : void
리턴 void

SetAdded() 공개 메소드

public SetAdded ( ) : void
리턴 void

SetColumnError() 공개 메소드

Sets the error description for a column specified as a .
public SetColumnError ( DataColumn column, string error ) : void
column DataColumn
error string
리턴 void

SetColumnError() 공개 메소드

Sets the error description for a column specified by index.
public SetColumnError ( int columnIndex, string error ) : void
columnIndex int
error string
리턴 void

SetColumnError() 공개 메소드

Sets the error description for a column specified by name.
public SetColumnError ( string columnName, string error ) : void
columnName string
error string
리턴 void

SetModified() 공개 메소드

public SetModified ( ) : void
리턴 void

SetNull() 보호된 메소드

Sets the specified column's value to a null value.
protected SetNull ( DataColumn column ) : void
column DataColumn
리턴 void

SetParentRow() 공개 메소드

public SetParentRow ( DataRow parentRow ) : void
parentRow DataRow
리턴 void

SetParentRow() 공개 메소드

Sets current row's parent row with specified relation.
public SetParentRow ( DataRow parentRow, DataRelation relation ) : void
parentRow DataRow
relation DataRelation
리턴 void

this() 공개 메소드

Gets or sets the data stored in the specified .
public this ( DataColumn column ) : object
column DataColumn
리턴 object

this() 공개 메소드

Gets the specified version of data stored in the specified .
public this ( DataColumn column, DataRowVersion version ) : object
column DataColumn
version DataRowVersion
리턴 object

this() 공개 메소드

Gets or sets the data stored in the column specified by index.
public this ( int columnIndex ) : object
columnIndex int
리턴 object

this() 공개 메소드

Gets the data stored in the column, specified by index and version of the data to retrieve.
public this ( int columnIndex, DataRowVersion version ) : object
columnIndex int
version DataRowVersion
리턴 object

this() 공개 메소드

Gets or sets the data stored in the column specified by name.
public this ( string columnName ) : object
columnName string
리턴 object

this() 공개 메소드

Gets the specified version of data stored in the named column.
public this ( string columnName, DataRowVersion version ) : object
columnName string
version DataRowVersion
리턴 object