表示要在数据源执行的 SQL 事务。无法继承此类。
SqlCeTransaction 类型公开以下成员。
方法
名称 | 说明 | |
---|---|---|
![]() |
Commit() () () () | 提交数据库事务。 (重写 DbTransaction. . :: . .Commit() () () ()。) |
![]() |
Commit(CommitMode) | 使用指定的 CommitMode 提交数据库事务。 |
![]() |
CreateObjRef | (inherited from MarshalByRefObject) |
![]() |
Dispose() () () () | 释放与事务关联的所有 SqlCeConnection 对象。 |
![]() |
Dispose | (inherited from DbTransaction) |
![]() |
Equals | (inherited from Object) |
![]() |
Finalize | (inherited from Object) |
![]() |
GetHashCode | (inherited from Object) |
![]() |
GetLifetimeService | (inherited from MarshalByRefObject) |
![]() |
GetType | (inherited from Object) |
![]() |
InitializeLifetimeService | (inherited from MarshalByRefObject) |
![]() |
MemberwiseClone | (inherited from Object) |
![]() |
MemberwiseClone | (inherited from MarshalByRefObject) |
![]() |
Rollback | 从挂起状态回滚事务。 (重写 DbTransaction. . :: . .Rollback() () () ()。) |
![]() |
ToString | (inherited from Object) |
页首
属性
名称 | 说明 | |
---|---|---|
![]() |
Connection | (inherited from DbTransaction) |
![]() |
CurrentTransactionBsn | 获取事务的开始序列号 (BSN)。 |
![]() |
DbConnection | (inherited from DbTransaction) |
![]() |
IsolationLevel | 指定该事务的 IsolationLevel。 (重写 DbTransaction. . :: . .IsolationLevel。) |
![]() |
TrackingContext | 获取或设置应用程序特定的上下文信息,该事务将这些信息与针对 SQL Server Compact 数据库表的跟踪操作相关联。 |
页首
显式接口实现
名称 | 说明 | |
---|---|---|
![]() ![]() |
IDbTransaction. . :: . .Connection | (inherited from DbTransaction) |
页首