C# Класс System.Data.ForeignKeyConstraint

Наследование: Constraint
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
CanBeRemovedFromCollection bool
CanEnableConstraint bool
CascadeCommit void
CascadeDelete void
CascadeRollback void
CascadeUpdate void
CheckCanAddToCollection void
CheckCanClearParentTable void
CheckCanRemoveParentRow void
CheckCascade void
CheckConstraint void
CheckState void
Clone Constraint
Clone Constraint
Clone ForeignKeyConstraint
ContainsColumn bool
Create void
FindParentRelation DataRelation
ForeignKeyConstraint System.ComponentModel
ForeignKeyConstraint System.ComponentModel
IsConstraintViolated bool
IsKeyNull bool
NonVirtualCheckState void

Открытые методы

Метод Описание
Equals ( object key ) : bool

Gets a value indicating whether the current is identical to the specified object.

ForeignKeyConstraint ( DataColumn parentColumn, DataColumn childColumn ) : System.ComponentModel

Initializes a new instance of the class with the specified parent and child objects.

ForeignKeyConstraint ( string constraintName, DataColumn parentColumn, DataColumn childColumn ) : System.ComponentModel

Initializes a new instance of the class with the specified name, parent and child objects.

GetHashCode ( ) : int

Приватные методы

Метод Описание
CanBeRemovedFromCollection ( ConstraintCollection constraints, bool fThrowException ) : bool
CanEnableConstraint ( ) : bool
CascadeCommit ( DataRow row ) : void
CascadeDelete ( DataRow row ) : void
CascadeRollback ( DataRow row ) : void
CascadeUpdate ( DataRow row ) : void
CheckCanAddToCollection ( ConstraintCollection constraints ) : void
CheckCanClearParentTable ( DataTable table ) : void
CheckCanRemoveParentRow ( DataRow row ) : void
CheckCascade ( DataRow row, DataRowAction action ) : void
CheckConstraint ( DataRow childRow, DataRowAction action ) : void
CheckState ( ) : void
Clone ( DataSet destination ) : Constraint
Clone ( DataSet destination, bool ignorNSforTableLookup ) : Constraint
Clone ( DataTable destination ) : ForeignKeyConstraint
ContainsColumn ( DataColumn column ) : bool
Create ( string relationName, DataColumn parentColumns, DataColumn childColumns ) : void
FindParentRelation ( ) : DataRelation
ForeignKeyConstraint ( string constraintName, string parentTableName, string parentColumnNames, string childColumnNames, AcceptRejectRule acceptRejectRule, Rule deleteRule, Rule updateRule ) : System.ComponentModel
ForeignKeyConstraint ( string constraintName, string parentTableName, string parentTableNamespace, string parentColumnNames, string childColumnNames, AcceptRejectRule acceptRejectRule, Rule deleteRule, Rule updateRule ) : System.ComponentModel
IsConstraintViolated ( ) : bool
IsKeyNull ( object values ) : bool
NonVirtualCheckState ( ) : void

Описание методов

Equals() публичный Метод

Gets a value indicating whether the current is identical to the specified object.
public Equals ( object key ) : bool
key object
Результат bool

ForeignKeyConstraint() публичный Метод

Initializes a new instance of the class with the specified parent and child objects.
public ForeignKeyConstraint ( DataColumn parentColumn, DataColumn childColumn ) : System.ComponentModel
parentColumn DataColumn
childColumn DataColumn
Результат System.ComponentModel

ForeignKeyConstraint() публичный Метод

Initializes a new instance of the class with the specified name, parent and child objects.
public ForeignKeyConstraint ( string constraintName, DataColumn parentColumn, DataColumn childColumn ) : System.ComponentModel
constraintName string
parentColumn DataColumn
childColumn DataColumn
Результат System.ComponentModel

GetHashCode() публичный Метод

public GetHashCode ( ) : int
Результат int