Udostępnij za pośrednictwem


IDatabaseMetaData.ImportedKeyCascade Field

Definition

For the column UPDATE_RULE, indicates that when the primary key is updated, the foreign key (imported key) is changed to agree with it.

[Android.Runtime.Register("importedKeyCascade")]
public const int ImportedKeyCascade = 0;
[<Android.Runtime.Register("importedKeyCascade")>]
val mutable ImportedKeyCascade : int

Field Value

Value = 0
Attributes

Remarks

For the column UPDATE_RULE, indicates that when the primary key is updated, the foreign key (imported key) is changed to agree with it. For the column DELETE_RULE, it indicates that when the primary key is deleted, rows that imported that key are deleted.

A possible value for the columns UPDATE_RULE and DELETE_RULE in the ResultSet objects returned by the methods getImportedKeys, getExportedKeys, and getCrossReference.

Java documentation for java.sql.DatabaseMetaData.importedKeyCascade.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to