C# 클래스 CqlSharp.Linq.CqlDatabase

Provides access to the database underlying a context
상속: IDisposable
파일 보기 프로젝트 열기: reuzel/CqlSharp

Private Properties

프로퍼티 타입 설명
CqlDatabase System
LogQuery void
SetConnection void

공개 메소드들

메소드 설명
BeginTransaction ( ) : CqlBatchTransaction

Begins a transaction on which all operations in this context are executed.

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

UseTransaction ( CqlBatchTransaction transaction ) : void

Makes operations in the context use the underlying transaction

비공개 메소드들

메소드 설명
CqlDatabase ( CqlContext cqlContext ) : System
LogQuery ( string cql ) : void

Logs the query.

SetConnection ( CqlConnection connection, bool ownsConnection ) : void

Sets the connection.

메소드 상세

BeginTransaction() 공개 메소드

Begins a transaction on which all operations in this context are executed.
This context is already bound to an transaction
public BeginTransaction ( ) : CqlBatchTransaction
리턴 CqlBatchTransaction

Dispose() 공개 메소드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
리턴 void

UseTransaction() 공개 메소드

Makes operations in the context use the underlying transaction
public UseTransaction ( CqlBatchTransaction transaction ) : void
transaction CqlBatchTransaction The transaction.
리턴 void