Udostępnij za pośrednictwem


DatabaseMetaData.ImportedKeySetNull Field

Definition

Caution

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

For the columns UPDATE_RULE and DELETE_RULE, indicates that when the primary key is updated or deleted, the foreign key (imported key) is changed to NULL.

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

Field Value

Value = 2
Attributes

Remarks

For the columns UPDATE_RULE and DELETE_RULE, indicates that when the primary key is updated or deleted, the foreign key (imported key) is changed to NULL.

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

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