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

SQLite 용 Utility 클래스입니다.
Mostrar archivo Open project: debop/NFramework Class Usage Examples

Public Properties

Property Type Description
PragmaSettings string
PragmaSqlStrings string[]

Public Methods

Method Description
CreateSQLiteConnection ( this db, bool &newConnectionCreated ) : SQLiteConnection

SQLiteConnection을 생성하고, PRAGMA를 설정한 후, 반환합니다.

GetAdoDataAdapter ( this db ) : AdoDataAdapter

SQLite용 AdoDataAdapter를 반환합니다.

Private Methods

Method Description
SetPragma ( this db, SQLiteConnection connection ) : void

SQLite 성능을 높히기 위해, PRAGMA 설정을 수행합니다.
참조 : http://www.sqlite.org/pragma.html

Method Details

CreateSQLiteConnection() public static method

SQLiteConnection을 생성하고, PRAGMA를 설정한 후, 반환합니다.
public static CreateSQLiteConnection ( this db, bool &newConnectionCreated ) : SQLiteConnection
db this SqLiteProvider 인스턴스
newConnectionCreated bool 새로운 연결인지 여부
return System.Data.SQLite.SQLiteConnection

GetAdoDataAdapter() public static method

SQLite용 AdoDataAdapter를 반환합니다.
public static GetAdoDataAdapter ( this db ) : AdoDataAdapter
db this SqLiteProvider 인스턴스
return AdoDataAdapter

Property Details

PragmaSettings public_oe static_oe property

성능향상을 위해, SQLite 접속 시에 먼저 설정해 줄 PRAGMA 설정 정보
public static string PragmaSettings
return string

PragmaSqlStrings public_oe static_oe property

SQLIte 성능을 높히기 위해, PRAGMA 설정을 합니다.
참고 : http://www.sqlite.org/pragma.html
public static string[] PragmaSqlStrings
return string[]