C# 클래스 DBH.Helper.OdbcHelper

OdbcDBHelper
상속: DBHelperBase
파일 보기 프로젝트 열기: bluedusk/DBHelper 1 사용 예제들

공개 메소드들

메소드 설명
DataTableInsert ( DataTable _dt ) : int

插入数据通过Datatable

ExecuteNoQuery ( string cmdText, DBHelperParmCollection parameters ) : int

返回爱影响的行数

ExecuteProcedureNoQuery ( string procedureName, DBHelperParmCollection parameters ) : int

执行存储过程

ExecuteProcedureQuery ( string procedureName, DBHelperParmCollection parameters ) : DataTable

执行存储过程,返回结果数据

ExecuteQuery ( string cmdText, DBHelperParmCollection parameters ) : DataTable
OdbcHelper ( System.Data.Odbc.OdbcConnection myConnection ) : System

보호된 메소드들

메소드 설명
CreateAdapter ( string cmdText ) : IDbDataAdapter
CreateCommand ( string cmdText, CommandType commandType ) : IDbCommand

메소드 상세

CreateAdapter() 보호된 메소드

protected CreateAdapter ( string cmdText ) : IDbDataAdapter
cmdText string
리턴 IDbDataAdapter

CreateCommand() 보호된 메소드

protected CreateCommand ( string cmdText, CommandType commandType ) : IDbCommand
cmdText string
commandType CommandType
리턴 IDbCommand

DataTableInsert() 공개 메소드

插入数据通过Datatable
public DataTableInsert ( DataTable _dt ) : int
_dt System.Data.DataTable
리턴 int

ExecuteNoQuery() 공개 메소드

返回爱影响的行数
public ExecuteNoQuery ( string cmdText, DBHelperParmCollection parameters ) : int
cmdText string
parameters DBHelperParmCollection
리턴 int

ExecuteProcedureNoQuery() 공개 메소드

执行存储过程
public ExecuteProcedureNoQuery ( string procedureName, DBHelperParmCollection parameters ) : int
procedureName string 过程名
parameters DBHelperParmCollection
리턴 int

ExecuteProcedureQuery() 공개 메소드

执行存储过程,返回结果数据
public ExecuteProcedureQuery ( string procedureName, DBHelperParmCollection parameters ) : DataTable
procedureName string 过程名
parameters DBHelperParmCollection
리턴 System.Data.DataTable

ExecuteQuery() 공개 메소드

public ExecuteQuery ( string cmdText, DBHelperParmCollection parameters ) : DataTable
cmdText string
parameters DBHelperParmCollection
리턴 System.Data.DataTable

OdbcHelper() 공개 메소드

public OdbcHelper ( System.Data.Odbc.OdbcConnection myConnection ) : System
myConnection System.Data.Odbc.OdbcConnection
리턴 System