C# 클래스 Dibware.StoredProcedureFramework.Helpers.Base.DbCommandCreatorBase

상속: IDbCommandCreator
파일 보기 프로젝트 열기: dibley1973/StoredProcedureFramework

공개 메소드들

메소드 설명
BuildCommand ( ) : IDbCommandCreator

Builds and sets up the command based upon the settings that have been previously passed to this builder.

WithCommandTimeout ( int commandTimeout ) : void
WithParameters ( IEnumerable parameters ) : void
WithTransaction ( SqlTransaction transaction ) : void

보호된 메소드들

메소드 설명
DbCommandCreatorBase ( IDbConnection connection ) : System

Initializes a new instance of the DbCommandCreatorBase class.

SetCommandTextForCommand ( ) : void
SetCommandTimeoutIfExistsForCommand ( ) : void
SetCommandTypeForCommand ( ) : void
SetTransactionIfExistsForCommand ( ) : void
WithCommandText ( string commandText ) : void
WithCommandType ( CommandType commandType ) : void

비공개 메소드들

메소드 설명
AddParametersToCommand ( ) : void
ClearAnyExistingParameters ( ) : void
CreateCommand ( ) : void
LoadCommandParametersIfAnyExist ( ) : void

메소드 상세

BuildCommand() 공개 메소드

Builds and sets up the command based upon the settings that have been previously passed to this builder.
public BuildCommand ( ) : IDbCommandCreator
리턴 IDbCommandCreator

DbCommandCreatorBase() 보호된 메소드

Initializes a new instance of the DbCommandCreatorBase class.
connection
protected DbCommandCreatorBase ( IDbConnection connection ) : System
connection IDbConnection /// The DbConnection to run the command against. ///
리턴 System

SetCommandTextForCommand() 보호된 메소드

protected SetCommandTextForCommand ( ) : void
리턴 void

SetCommandTimeoutIfExistsForCommand() 보호된 메소드

protected SetCommandTimeoutIfExistsForCommand ( ) : void
리턴 void

SetCommandTypeForCommand() 보호된 메소드

protected SetCommandTypeForCommand ( ) : void
리턴 void

SetTransactionIfExistsForCommand() 보호된 메소드

protected SetTransactionIfExistsForCommand ( ) : void
리턴 void

WithCommandText() 보호된 메소드

protected WithCommandText ( string commandText ) : void
commandText string
리턴 void

WithCommandTimeout() 공개 메소드

public WithCommandTimeout ( int commandTimeout ) : void
commandTimeout int
리턴 void

WithCommandType() 보호된 메소드

protected WithCommandType ( CommandType commandType ) : void
commandType CommandType
리턴 void

WithParameters() 공개 메소드

public WithParameters ( IEnumerable parameters ) : void
parameters IEnumerable
리턴 void

WithTransaction() 공개 메소드

public WithTransaction ( SqlTransaction transaction ) : void
transaction System.Data.SqlClient.SqlTransaction
리턴 void