C# 클래스 Net.Sf.Dbdeploy.Database.QueryExecuter

파일 보기 프로젝트 열기: brunomlopes/dbdeploy.net 1 사용 예제들

공개 메소드들

메소드 설명
BeginTransaction ( ) : void
Close ( ) : void
CommitTransaction ( ) : void
Execute ( string sql ) : void

Executes the specified SQL.

Execute ( string sql, StringBuilder output ) : void

Executes the specified SQL.

ExecuteQuery ( string sql ) : IDataReader

Executes the query.

ExecuteQuery ( string sql, StringBuilder output ) : IDataReader

Executes the query.

InfoMessageEventHandler ( object sender, EventArgs args ) : void

Triggered when a message is received from the query execution.

QueryExecuter ( DbmsFactory factory ) : System

비공개 메소드들

메소드 설명
AttachInfoMessageEventHandler ( IDbConnection dbConnection ) : void

Attaches the info message event handler to the connection if possible.

CreateCommand ( ) : IDbCommand

메소드 상세

BeginTransaction() 공개 메소드

public BeginTransaction ( ) : void
리턴 void

Close() 공개 메소드

public Close ( ) : void
리턴 void

CommitTransaction() 공개 메소드

public CommitTransaction ( ) : void
리턴 void

Execute() 공개 메소드

Executes the specified SQL.
public Execute ( string sql ) : void
sql string The SQL to run.
리턴 void

Execute() 공개 메소드

Executes the specified SQL.
public Execute ( string sql, StringBuilder output ) : void
sql string The SQL to run.
output StringBuilder The output from the running of the script..
리턴 void

ExecuteQuery() 공개 메소드

Executes the query.
public ExecuteQuery ( string sql ) : IDataReader
sql string The SQL to run.
리턴 IDataReader

ExecuteQuery() 공개 메소드

Executes the query.
public ExecuteQuery ( string sql, StringBuilder output ) : IDataReader
sql string The SQL to run.
output StringBuilder The output of the SQL execution.
리턴 IDataReader

InfoMessageEventHandler() 공개 메소드

Triggered when a message is received from the query execution.
public InfoMessageEventHandler ( object sender, EventArgs args ) : void
sender object The sender.
args System.EventArgs The args.
리턴 void

QueryExecuter() 공개 메소드

public QueryExecuter ( DbmsFactory factory ) : System
factory DbmsFactory
리턴 System