共用方式為


IDatabaseMetaData.ImportedKeySetDefault Field

Definition

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")]
public const int ImportedKeySetDefault = 4;
[<Android.Runtime.Register("importedKeySetDefault")>]
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