C# 클래스 System.Data.DataRelation

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

Private Properties

프로퍼티 타입 설명
CheckNamespaceValidityForNestedRelations void
CheckNestedRelations void
CheckState void
Clone DataRelation
Create void
DataRelation System.ComponentModel
DataRelation System.ComponentModel
GetChildRows System.Data.DataRow[]
GetParentRow DataRow
GetParentRows System.Data.DataRow[]
IsAutoGenerated bool
IsKeyNull bool
SetChildKeyConstraint void
SetDataSet void
SetParentKeyConstraint void
SetParentRowRecords void
ValidateMultipleNestedRelations void

공개 메소드들

메소드 설명
DataRelation ( string relationName, DataColumn parentColumn, DataColumn childColumn ) : System.ComponentModel

Initializes a new instance of the class using the specified name, parent, and child columns.

DataRelation ( string relationName, DataColumn parentColumn, DataColumn childColumn, bool createConstraints ) : System.ComponentModel

Initializes a new instance of the class using the specified name, parent, and child columns, and value to create constraints.

ToString ( ) : string

보호된 메소드들

메소드 설명
CheckStateForProperty ( ) : void

Checks to ensure the DataRelation is a valid object, even if it doesn't belong to a .

OnPropertyChanging ( PropertyChangedEventArgs pcevent ) : void
RaisePropertyChanging ( string name ) : void

비공개 메소드들

메소드 설명
CheckNamespaceValidityForNestedRelations ( string ns ) : void
CheckNestedRelations ( ) : void
CheckState ( ) : void
Clone ( DataSet destination ) : DataRelation
Create ( string relationName, DataColumn parentColumns, DataColumn childColumns, bool createConstraints ) : void
DataRelation ( string relationName, string parentTableName, string childTableName, string parentColumnNames, string childColumnNames, bool nested ) : System.ComponentModel
DataRelation ( string relationName, string parentTableName, string parentTableNamespace, string childTableName, string childTableNamespace, string parentColumnNames, string childColumnNames, bool nested ) : System.ComponentModel
GetChildRows ( DataKey parentKey, DataKey childKey, DataRow parentRow, DataRowVersion version ) : System.Data.DataRow[]

Gets the child rows for the parent row across the relation using the version given

GetParentRow ( DataKey parentKey, DataKey childKey, DataRow childRow, DataRowVersion version ) : DataRow
GetParentRows ( DataKey parentKey, DataKey childKey, DataRow childRow, DataRowVersion version ) : System.Data.DataRow[]

Gets the parent rows for the given child row across the relation using the version given

IsAutoGenerated ( DataColumn col ) : bool
IsKeyNull ( object values ) : bool
SetChildKeyConstraint ( ForeignKeyConstraint value ) : void
SetDataSet ( DataSet dataSet ) : void

Internally sets the DataSet pointer.

SetParentKeyConstraint ( UniqueConstraint value ) : void
SetParentRowRecords ( DataRow childRow, DataRow parentRow ) : void
ValidateMultipleNestedRelations ( ) : void

메소드 상세

CheckStateForProperty() 보호된 메소드

Checks to ensure the DataRelation is a valid object, even if it doesn't belong to a .
protected CheckStateForProperty ( ) : void
리턴 void

DataRelation() 공개 메소드

Initializes a new instance of the class using the specified name, parent, and child columns.
public DataRelation ( string relationName, DataColumn parentColumn, DataColumn childColumn ) : System.ComponentModel
relationName string
parentColumn DataColumn
childColumn DataColumn
리턴 System.ComponentModel

DataRelation() 공개 메소드

Initializes a new instance of the class using the specified name, parent, and child columns, and value to create constraints.
public DataRelation ( string relationName, DataColumn parentColumn, DataColumn childColumn, bool createConstraints ) : System.ComponentModel
relationName string
parentColumn DataColumn
childColumn DataColumn
createConstraints bool
리턴 System.ComponentModel

OnPropertyChanging() 보호된 메소드

protected OnPropertyChanging ( PropertyChangedEventArgs pcevent ) : void
pcevent System.ComponentModel.PropertyChangedEventArgs
리턴 void

RaisePropertyChanging() 보호된 메소드

protected RaisePropertyChanging ( string name ) : void
name string
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string