Partager via


SQLiteDatabase.ConflictAbort Field

Definition

Caution

This constant will be removed in the future version. Use Android.Database.Sqlite.Conflict enum directly instead of this field.

When a constraint violation occurs,no ROLLBACK is executed so changes from prior commands within the same transaction are preserved.

[Android.Runtime.Register("CONFLICT_ABORT")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Database.Sqlite.Conflict enum directly instead of this field.", true)]
public const Android.Database.Sqlite.Conflict ConflictAbort = 2;
[<Android.Runtime.Register("CONFLICT_ABORT")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Database.Sqlite.Conflict enum directly instead of this field.", true)>]
val mutable ConflictAbort : Android.Database.Sqlite.Conflict

Field Value

Value = 2
Attributes

Remarks

When a constraint violation occurs,no ROLLBACK is executed so changes from prior commands within the same transaction are preserved. This is the default behavior.

Java documentation for android.database.sqlite.SQLiteDatabase.CONFLICT_ABORT.

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