Dela via


DatabaseMetaData.ImportedKeyNoAction Field

Definition

Caution

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

For the columns UPDATE_RULE and DELETE_RULE, indicates that if the primary key has been imported, it cannot be updated or deleted.

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

Field Value

Value = 3
Attributes

Remarks

For the columns UPDATE_RULE and DELETE_RULE, indicates that if the primary key has been imported, it cannot be updated or 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.importedKeyNoAction.

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