C# 클래스 Shaolinq.Persistence.SqlTransactionalCommandsContext

상속: IDisposable
파일 보기 프로젝트 열기: tumtumtum/Shaolinq 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
dbTransaction IDbTransaction

공개 메소드들

메소드 설명
ConvertIsolationLevel ( DataAccessIsolationLevel isolationLevel ) : IsolationLevel
CreateCommand ( ) : IDbCommand
CreateCommand ( SqlCreateCommandOptions options ) : IDbCommand
Delete ( SqlDeleteExpression deleteExpression ) : void
Delete ( Type type, IEnumerable dataAccessObjects ) : void
DeleteAsync ( SqlDeleteExpression deleteExpression ) : Task
DeleteAsync ( SqlDeleteExpression deleteExpression, CancellationToken cancellationToken ) : Task
DeleteAsync ( Type type, IEnumerable dataAccessObjects ) : Task
DeleteAsync ( Type type, IEnumerable dataAccessObjects, CancellationToken cancellationToken ) : Task
Dispose ( ) : void
ExecuteReader ( string sql, IReadOnlyList parameters ) : IDataReader
ExecuteReaderAsync ( string sql, IReadOnlyList parameters ) : Task
ExecuteReaderAsync ( string sql, IReadOnlyList parameters, CancellationToken cancellationToken ) : Task
Insert ( Type type, IEnumerable dataAccessObjects ) : InsertResults
InsertAsync ( Type type, IEnumerable dataAccessObjects ) : Task
InsertAsync ( Type type, IEnumerable dataAccessObjects, CancellationToken cancellationToken ) : Task
Prepare ( ) : void
Update ( Type type, IEnumerable dataAccessObjects ) : void
UpdateAsync ( Type type, IEnumerable dataAccessObjects ) : Task
UpdateAsync ( Type type, IEnumerable dataAccessObjects, CancellationToken cancellationToken ) : Task

보호된 메소드들

메소드 설명
CloseConnection ( ) : void
Dispose ( bool disposing ) : void
SqlTransactionalCommandsContext ( ) : System
SqlTransactionalCommandsContext ( SqlDatabaseContext sqlDatabaseContext, IDbConnection dbConnection, System.Data.TransactionContext transactionContext ) : System
SqlTransactionalCommandsContext ( bool supportsAsync ) : System

비공개 메소드들

메소드 설명
Commit ( ) : void
Rollback ( ) : void

메소드 상세

CloseConnection() 보호된 메소드

protected CloseConnection ( ) : void
리턴 void

ConvertIsolationLevel() 공개 정적인 메소드

public static ConvertIsolationLevel ( DataAccessIsolationLevel isolationLevel ) : IsolationLevel
isolationLevel DataAccessIsolationLevel
리턴 IsolationLevel

CreateCommand() 공개 메소드

public CreateCommand ( ) : IDbCommand
리턴 IDbCommand

CreateCommand() 공개 메소드

public CreateCommand ( SqlCreateCommandOptions options ) : IDbCommand
options SqlCreateCommandOptions
리턴 IDbCommand

Delete() 공개 추상적인 메소드

public abstract Delete ( SqlDeleteExpression deleteExpression ) : void
deleteExpression Shaolinq.Persistence.Linq.Expressions.SqlDeleteExpression
리턴 void

Delete() 공개 추상적인 메소드

public abstract Delete ( Type type, IEnumerable dataAccessObjects ) : void
type System.Type
dataAccessObjects IEnumerable
리턴 void

DeleteAsync() 공개 추상적인 메소드

public abstract DeleteAsync ( SqlDeleteExpression deleteExpression ) : Task
deleteExpression Shaolinq.Persistence.Linq.Expressions.SqlDeleteExpression
리턴 Task

DeleteAsync() 공개 추상적인 메소드

public abstract DeleteAsync ( SqlDeleteExpression deleteExpression, CancellationToken cancellationToken ) : Task
deleteExpression Shaolinq.Persistence.Linq.Expressions.SqlDeleteExpression
cancellationToken System.Threading.CancellationToken
리턴 Task

DeleteAsync() 공개 추상적인 메소드

public abstract DeleteAsync ( Type type, IEnumerable dataAccessObjects ) : Task
type System.Type
dataAccessObjects IEnumerable
리턴 Task

DeleteAsync() 공개 추상적인 메소드

public abstract DeleteAsync ( Type type, IEnumerable dataAccessObjects, CancellationToken cancellationToken ) : Task
type System.Type
dataAccessObjects IEnumerable
cancellationToken System.Threading.CancellationToken
리턴 Task

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

ExecuteReader() 공개 추상적인 메소드

public abstract ExecuteReader ( string sql, IReadOnlyList parameters ) : IDataReader
sql string
parameters IReadOnlyList
리턴 IDataReader

ExecuteReaderAsync() 공개 추상적인 메소드

public abstract ExecuteReaderAsync ( string sql, IReadOnlyList parameters ) : Task
sql string
parameters IReadOnlyList
리턴 Task

ExecuteReaderAsync() 공개 추상적인 메소드

public abstract ExecuteReaderAsync ( string sql, IReadOnlyList parameters, CancellationToken cancellationToken ) : Task
sql string
parameters IReadOnlyList
cancellationToken System.Threading.CancellationToken
리턴 Task

Insert() 공개 추상적인 메소드

public abstract Insert ( Type type, IEnumerable dataAccessObjects ) : InsertResults
type System.Type
dataAccessObjects IEnumerable
리턴 InsertResults

InsertAsync() 공개 추상적인 메소드

public abstract InsertAsync ( Type type, IEnumerable dataAccessObjects ) : Task
type System.Type
dataAccessObjects IEnumerable
리턴 Task

InsertAsync() 공개 추상적인 메소드

public abstract InsertAsync ( Type type, IEnumerable dataAccessObjects, CancellationToken cancellationToken ) : Task
type System.Type
dataAccessObjects IEnumerable
cancellationToken System.Threading.CancellationToken
리턴 Task

Prepare() 공개 메소드

public Prepare ( ) : void
리턴 void

SqlTransactionalCommandsContext() 보호된 메소드

protected SqlTransactionalCommandsContext ( ) : System
리턴 System

SqlTransactionalCommandsContext() 보호된 메소드

protected SqlTransactionalCommandsContext ( SqlDatabaseContext sqlDatabaseContext, IDbConnection dbConnection, System.Data.TransactionContext transactionContext ) : System
sqlDatabaseContext SqlDatabaseContext
dbConnection IDbConnection
transactionContext System.Data.TransactionContext
리턴 System

SqlTransactionalCommandsContext() 보호된 메소드

protected SqlTransactionalCommandsContext ( bool supportsAsync ) : System
supportsAsync bool
리턴 System

Update() 공개 추상적인 메소드

public abstract Update ( Type type, IEnumerable dataAccessObjects ) : void
type System.Type
dataAccessObjects IEnumerable
리턴 void

UpdateAsync() 공개 추상적인 메소드

public abstract UpdateAsync ( Type type, IEnumerable dataAccessObjects ) : Task
type System.Type
dataAccessObjects IEnumerable
리턴 Task

UpdateAsync() 공개 추상적인 메소드

public abstract UpdateAsync ( Type type, IEnumerable dataAccessObjects, CancellationToken cancellationToken ) : Task
type System.Type
dataAccessObjects IEnumerable
cancellationToken System.Threading.CancellationToken
리턴 Task

프로퍼티 상세

dbTransaction 보호되어 있는 프로퍼티

protected IDbTransaction dbTransaction
리턴 IDbTransaction