C# Class NSoft.NFramework.Data.SQLite.SQLiteRepositoryImpl

SQLite 전용의 IAdoRepository입니다.
Inheritance: AdoRepositoryImplBase, ISQLiteRepository
Mostrar archivo Open project: debop/NFramework

Public Methods

Method Description
ExecuteDataSet ( DbCommand cmd, int firstResult, int maxResults ) : DataSet

cmd를 실행하여, 결과를 DataSet으로 반환합니다.

ExecuteDataTable ( DbCommand cmd, int firstResult, int maxResults ) : DataTable

지정된 Command를 실행하여, DataTable을 빌드합니다.

ExecuteDataTableAsList ( DbCommand cmd, int firstResult, int maxResults ) : IList

여러 ResultSet을 반환할 수 있으므로, DataTable의 컬렉션으로 반환합니다.

SQLiteRepositoryImpl ( ) : System.Collections.Generic

생성자

SQLiteRepositoryImpl ( string dbName ) : System.Collections.Generic

생성자

Protected Methods

Method Description
ExecuteNonQueryInternal ( DbCommand cmd ) : int

지정된 Command의 ExecuteNonQuery 메소드를 실행합니다.

ExecuteReaderInternal ( DbCommand cmd ) : IDataReader

지정된 Command의 ExecuteReader 메소드를 실행합니다.

ExecuteScalarInternal ( DbCommand cmd ) : object

지정된 Command의 ExecuteScalar 메소드를 실행합니다.

Method Details

ExecuteDataSet() public method

cmd를 실행하여, 결과를 DataSet으로 반환합니다.
public ExecuteDataSet ( DbCommand cmd, int firstResult, int maxResults ) : DataSet
cmd System.Data.Common.DbCommand 실행할 instance.
firstResult int 첫번째 레코드의 인덱스 (0부터 시작)
maxResults int 최대 레코드 수 (0 이면 무시하고, 마지막 레코드까지 가져온다
return System.Data.DataSet

ExecuteDataTable() public method

지정된 Command를 실행하여, DataTable을 빌드합니다.
public ExecuteDataTable ( DbCommand cmd, int firstResult, int maxResults ) : DataTable
cmd System.Data.Common.DbCommand 실행할 Select용 Command
firstResult int 첫번째 레코드의 인덱스 (0부터 시작)
maxResults int 최대 레코드 수 (0 이면 무시하고, 마지막 레코드까지 가져온다
return System.Data.DataTable

ExecuteDataTableAsList() public method

여러 ResultSet을 반환할 수 있으므로, DataTable의 컬렉션으로 반환합니다.
public ExecuteDataTableAsList ( DbCommand cmd, int firstResult, int maxResults ) : IList
cmd System.Data.Common.DbCommand
firstResult int
maxResults int
return IList

ExecuteNonQueryInternal() protected method

지정된 Command의 ExecuteNonQuery 메소드를 실행합니다.
protected ExecuteNonQueryInternal ( DbCommand cmd ) : int
cmd System.Data.Common.DbCommand 실행할 Command 객체
return int

ExecuteReaderInternal() protected method

지정된 Command의 ExecuteReader 메소드를 실행합니다.
protected ExecuteReaderInternal ( DbCommand cmd ) : IDataReader
cmd System.Data.Common.DbCommand
return IDataReader

ExecuteScalarInternal() protected method

지정된 Command의 ExecuteScalar 메소드를 실행합니다.
protected ExecuteScalarInternal ( DbCommand cmd ) : object
cmd System.Data.Common.DbCommand 실행할 Command 객체
return object

SQLiteRepositoryImpl() public method

생성자
public SQLiteRepositoryImpl ( ) : System.Collections.Generic
return System.Collections.Generic

SQLiteRepositoryImpl() public method

생성자
public SQLiteRepositoryImpl ( string dbName ) : System.Collections.Generic
dbName string
return System.Collections.Generic