SQLiteDatabase.ConflictAbort 字段

定义

注意

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

发生约束冲突时,不会执行 ROLLBACK,因此保留同一事务中先前命令的更改。

[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

字段值

Value = 2
属性

注解

发生约束冲突时,不会执行 ROLLBACK,因此保留同一事务中先前命令的更改。 这是默认行为。

Java文档android.database.sqlite.SQLiteDatabase.CONFLICT_ABORT

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于