C# 클래스 Mono.Data.Sqlite.Orm.SqliteExtensions

파일 보기 프로젝트 열기: mattleibow/Mono.Data.Sqlite.Orm

공개 메소드들

메소드 설명
CreateSavepoint ( this transaction ) : string

Saves a point in a transaction using a random name.

CreateSavepoint ( this transaction, string savepoint ) : void

Saves a point in a transaction using the given savepoint name.

Matches ( this column, string match ) : bool
ReleaseSavepoint ( this transaction, string savepoint ) : void

This causes all savepoints back to and including the most recent savepoint with a matching name to be removed from the transaction stack. It does not cause any changes to be written to the database file, but merely removes savepoints from the transaction stack such that it is no longer possible to rollback to those savepoints.

RollbackSavepoint ( this transaction, string savepoint ) : void

Reverts the state of the database back to what it was just after the corresponding savepoint. This does not cancel the transaction, but all intervening savepoints are canceled.

비공개 메소드들

메소드 설명
EnsureInProgress ( SqliteTransaction transaction ) : void

메소드 상세

CreateSavepoint() 공개 정적인 메소드

Saves a point in a transaction using a random name.
public static CreateSavepoint ( this transaction ) : string
transaction this
리턴 string

CreateSavepoint() 공개 정적인 메소드

Saves a point in a transaction using the given savepoint name.
public static CreateSavepoint ( this transaction, string savepoint ) : void
transaction this
savepoint string /// The savepoint name to use. ///
리턴 void

Matches() 공개 정적인 메소드

public static Matches ( this column, string match ) : bool
column this
match string
리턴 bool

ReleaseSavepoint() 공개 정적인 메소드

This causes all savepoints back to and including the most recent savepoint with a matching name to be removed from the transaction stack. It does not cause any changes to be written to the database file, but merely removes savepoints from the transaction stack such that it is no longer possible to rollback to those savepoints.
public static ReleaseSavepoint ( this transaction, string savepoint ) : void
transaction this
savepoint string /// The savepoint name to release. ///
리턴 void

RollbackSavepoint() 공개 정적인 메소드

Reverts the state of the database back to what it was just after the corresponding savepoint. This does not cancel the transaction, but all intervening savepoints are canceled.
public static RollbackSavepoint ( this transaction, string savepoint ) : void
transaction this
savepoint string The savepoint name to rollback to.
리턴 void