Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
ForeignKeyConstraint (DataColumn parentColumn, DataColumn childColumn) | |
ForeignKeyConstraint (string? constraintName, DataColumn parentColumn, DataColumn childColumn) | |
ForeignKeyConstraint (DataColumn[] parentColumns, DataColumn[] childColumns) | |
ForeignKeyConstraint (string? constraintName, DataColumn[] parentColumns, DataColumn[] childColumns) | |
ForeignKeyConstraint (string? constraintName, string? parentTableName, string[] parentColumnNames, string[] childColumnNames, AcceptRejectRule acceptRejectRule, Rule deleteRule, Rule updateRule) | |
ForeignKeyConstraint (string? constraintName, string? parentTableName, string? parentTableNamespace, string[] parentColumnNames, string[] childColumnNames, AcceptRejectRule acceptRejectRule, Rule deleteRule, Rule updateRule) | |
override bool | Equals ([NotNullWhen(true)] object? key) |
override int | GetHashCode () |
override string | ToString () |
Protected Member Functions | |
void | CheckStateForProperty () |
Package Functions | |
override void | CheckCanAddToCollection (ConstraintCollection constraints) |
override bool | CanBeRemovedFromCollection (ConstraintCollection constraints, bool fThrowException) |
bool | IsKeyNull (object[] values) |
override bool | IsConstraintViolated () |
override bool | CanEnableConstraint () |
void | CascadeCommit (DataRow row) |
void | CascadeDelete (DataRow row) |
void | CascadeRollback (DataRow row) |
void | CascadeUpdate (DataRow row) |
void | CheckCanClearParentTable (DataTable table) |
void | CheckCanRemoveParentRow (DataRow row) |
void | CheckCascade (DataRow row, DataRowAction action) |
override void | CheckConstraint (DataRow childRow, DataRowAction action) |
override void | CheckState () |
override bool | ContainsColumn (DataColumn column) |
override Constraint | Clone (DataSet destination) |
override Constraint | Clone (DataSet destination, bool ignorNSforTableLookup) |
ForeignKeyConstraint | Clone (DataTable destination) |
DataRelation | FindParentRelation () |
void | CheckConstraint () |
void | SetDataSet (DataSet dataSet) |
Package Attributes | |
Rule | _deleteRule = Rule.Cascade |
Rule | _updateRule = Rule.Cascade |
AcceptRejectRule | _acceptRejectRule |
string | _constraintName |
string[] | _parentColumnNames |
string[] | _childColumnNames |
string | _parentTableName |
string | _parentTableNamespace |
string | _name = string.Empty |
PropertyCollection | _extendedProperties |
Properties | |
DataKey | ChildKey [get] |
virtual DataColumn[] | Columns [get] |
override? DataTable | Table [get] |
string[] | ParentColumnNames [get] |
string[] | ChildColumnNames [get] |
virtual AcceptRejectRule | AcceptRejectRule [get, set] |
virtual Rule | DeleteRule [get, set] |
virtual DataColumn[] | RelatedColumns [get] |
DataColumn[] | RelatedColumnsReference [get] |
DataKey | ParentKey [get] |
virtual DataTable | RelatedTable [get] |
virtual Rule | UpdateRule [get, set] |
virtual string | ConstraintName [get, set] |
string | SchemaName [get, set] |
virtual bool | InCollection [get, set] |
PropertyCollection | ExtendedProperties [get] |
virtual ? DataSet | _DataSet [get] |
Private Member Functions | |
void | NonVirtualCheckState () |
void | Create (string relationName, DataColumn[] parentColumns, DataColumn[] childColumns) |
Private Attributes | |
DataKey | _childKey |
DataKey | _parentKey |
string | _schemaName = string.Empty |
bool | _inCollection |
DataSet | _dataSet |
Definition at line 9 of file ForeignKeyConstraint.cs.