Dela via


DatabaseMetaData.ImportedKeySetDefault Field

Definition

Caution

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

For the columns UPDATE_RULE and DELETE_RULE, indicates that if the primary key is updated or deleted, the foreign key (imported key) is set to the default value.

[Android.Runtime.Register("importedKeySetDefault")]
[System.Obsolete("Use 'Java.Sql.IDatabaseMetaData.ImportedKeySetDefault'. This class will be removed in a future release.")]
public const int ImportedKeySetDefault = 4;
[<Android.Runtime.Register("importedKeySetDefault")>]
[<System.Obsolete("Use 'Java.Sql.IDatabaseMetaData.ImportedKeySetDefault'. This class will be removed in a future release.")>]
val mutable ImportedKeySetDefault : int

Field Value

Value = 4
Attributes

Remarks

For the columns UPDATE_RULE and DELETE_RULE, indicates that if the primary key is updated or deleted, the foreign key (imported key) is set to the default value.

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.importedKeySetDefault.

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