C# 클래스 DBH.Helper.Impl.DBHelperImpl

상속: IDBHelper
파일 보기 프로젝트 열기: bluedusk/DBHelper

Private Properties

프로퍼티 타입 설명
BuildSqlCommand IDbCommand
BuildSqlCommand IDbCommand
Close void
CreateCommand IDbCommand
CreateDbConnection IDbConnection
CreateDbDataAdapter DbDataAdapter
CreateDbParameter IDbDataParameter
DeriveParameters void
isPk bool

공개 메소드들

메소드 설명
AbortTransaction ( ) : void
BeginTransaction ( ) : void
CommitTransaction ( ) : void
DBHelperImpl ( string dsName ) : System
Delete ( DataRow obj ) : int
Dispose ( ) : void
ExecuteQuery ( IDbDataAdapter &da, string sql ) : DataTable
ExecuteQuery ( string sql ) : DataTable
ExecuteQuery ( string sql, int pageId, int pageSize ) : DataTable
ExecuteUpdate ( string sql ) : int
ExecuteUpdate ( string sql, Hashtable parameters ) : int
Insert ( DataRow obj ) : int
NewDataRow ( string tableName ) : DataRow
Save ( DataRow obj ) : int
Update ( DataRow obj ) : int

비공개 메소드들

메소드 설명
BuildSqlCommand ( string sql ) : IDbCommand
BuildSqlCommand ( string sql, Hashtable parameters ) : IDbCommand
Close ( ) : void
CreateCommand ( ) : IDbCommand
CreateDbConnection ( string dsName ) : IDbConnection
CreateDbDataAdapter ( IDbCommand dbCommand ) : DbDataAdapter
CreateDbParameter ( string parameterName, object value ) : IDbDataParameter
DeriveParameters ( IDbCommand spCommand ) : void
isPk ( DataTable dt, DataColumn dc ) : bool

메소드 상세

AbortTransaction() 공개 메소드

public AbortTransaction ( ) : void
리턴 void

BeginTransaction() 공개 메소드

public BeginTransaction ( ) : void
리턴 void

CommitTransaction() 공개 메소드

public CommitTransaction ( ) : void
리턴 void

DBHelperImpl() 공개 메소드

public DBHelperImpl ( string dsName ) : System
dsName string
리턴 System

Delete() 공개 메소드

public Delete ( DataRow obj ) : int
obj DataRow
리턴 int

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

ExecuteQuery() 공개 메소드

public ExecuteQuery ( IDbDataAdapter &da, string sql ) : DataTable
da IDbDataAdapter
sql string
리턴 DataTable

ExecuteQuery() 공개 메소드

public ExecuteQuery ( string sql ) : DataTable
sql string
리턴 DataTable

ExecuteQuery() 공개 메소드

public ExecuteQuery ( string sql, int pageId, int pageSize ) : DataTable
sql string
pageId int
pageSize int
리턴 DataTable

ExecuteUpdate() 공개 메소드

public ExecuteUpdate ( string sql ) : int
sql string
리턴 int

ExecuteUpdate() 공개 메소드

public ExecuteUpdate ( string sql, Hashtable parameters ) : int
sql string
parameters Hashtable
리턴 int

Insert() 공개 메소드

public Insert ( DataRow obj ) : int
obj DataRow
리턴 int

NewDataRow() 공개 메소드

public NewDataRow ( string tableName ) : DataRow
tableName string
리턴 DataRow

Save() 공개 메소드

public Save ( DataRow obj ) : int
obj DataRow
리턴 int

Update() 공개 메소드

public Update ( DataRow obj ) : int
obj DataRow
리턴 int