Udostępnij za pośrednictwem


DatabaseMetaData.ImportedKeyCascade Field

Definition

Caution

Use 'Java.Sql.IDatabaseMetaData.ImportedKeyCascade'. This class will be removed in a future release.

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")]
[System.Obsolete("Use 'Java.Sql.IDatabaseMetaData.ImportedKeyCascade'. This class will be removed in a future release.")]
public const int ImportedKeyCascade = 0;
[<Android.Runtime.Register("importedKeyCascade")>]
[<System.Obsolete("Use 'Java.Sql.IDatabaseMetaData.ImportedKeyCascade'. This class will be removed in a future release.")>]
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