SQLite3 データベースラッパー. [詳細]
Public メソッド | |
OSQLiteDBWrap () | |
コンストラクタ | |
void | Dispose () |
デストラクタ | |
bool | Open (string filename) |
接続 | |
void | Close () |
切断 | |
string | getLibVersion () |
バージョン取得 | |
ResultEnum | getLastErr () |
最終エラーコード | |
int | getExtendedErrcode () |
拡張エラーコード取得 | |
string | getLastErrMsg () |
最終エラーメッセージ取得 | |
OSQLiteStmtWrap | CreateStmt () |
STMTインスタンス作成. | |
void | Interrupt () |
処理中断 | |
int | getChanges () |
更新影響行数 | |
long | getLastInsertROWID () |
最終追加ROWID取得 | |
Static Protected メソッド | |
static IntPtr | osqlite3_new () |
static void | osqlite3_delete (IntPtr instance) |
static bool | osqlite3_open (IntPtr instance, string filename) |
static void | osqlite3_close (IntPtr instance) |
static IntPtr | osqlite3_libversion (IntPtr instance) |
static int | osqlite3_getLastErr (IntPtr instance) |
static int | osqlite3_getExtendedErrcode (IntPtr instance) |
static IntPtr | osqlite3_getLastErrMsg (IntPtr instance) |
static void | osqlite3_interrupt (IntPtr instance) |
static int | osqlite3_changes (IntPtr instance) |
static void | osqlite3_last_insert_rowid (IntPtr instance, ref long val) |
Protected 変数 | |
IntPtr | m_impl = IntPtr.Zero |
内部インスタンス |
SQLite3 データベースラッパー.
OSQLiteDBWrap.cs の 10 行で定義されています。
SQLiteCSLib.Inner.OSQLiteDBWrap.OSQLiteDBWrap | ( | ) |
void SQLiteCSLib.Inner.OSQLiteDBWrap.Close | ( | ) |
OSQLiteStmtWrap SQLiteCSLib.Inner.OSQLiteDBWrap.CreateStmt | ( | ) |
void SQLiteCSLib.Inner.OSQLiteDBWrap.Dispose | ( | ) |
デストラクタ
OSQLiteDBWrap.cs の 42 行で定義されています。
int SQLiteCSLib.Inner.OSQLiteDBWrap.getChanges | ( | ) |
更新影響行数
OSQLiteDBWrap.cs の 127 行で定義されています。
00128 { 00129 return osqlite3_changes( m_impl ); 00130 }
int SQLiteCSLib.Inner.OSQLiteDBWrap.getExtendedErrcode | ( | ) |
拡張エラーコード取得
OSQLiteDBWrap.cs の 92 行で定義されています。
00093 { 00094 return osqlite3_getExtendedErrcode( m_impl ); 00095 }
ResultEnum SQLiteCSLib.Inner.OSQLiteDBWrap.getLastErr | ( | ) |
最終エラーコード
OSQLiteDBWrap.cs の 83 行で定義されています。
00084 { 00085 return (ResultEnum)osqlite3_getLastErr( m_impl ); 00086 }
string SQLiteCSLib.Inner.OSQLiteDBWrap.getLastErrMsg | ( | ) |
最終エラーメッセージ取得
OSQLiteDBWrap.cs の 101 行で定義されています。
00102 { 00103 return StringFromC.String( osqlite3_getLastErrMsg( m_impl ) ); 00104 }
long SQLiteCSLib.Inner.OSQLiteDBWrap.getLastInsertROWID | ( | ) |
最終追加ROWID取得
OSQLiteDBWrap.cs の 136 行で定義されています。
00137 { 00138 long lVal = 0; 00139 osqlite3_last_insert_rowid( m_impl, ref lVal ); 00140 return lVal; 00141 }
string SQLiteCSLib.Inner.OSQLiteDBWrap.getLibVersion | ( | ) |
バージョン取得
OSQLiteDBWrap.cs の 74 行で定義されています。
00075 { 00076 return StringFromC.StringAnsi( osqlite3_libversion( m_impl ) ); 00077 }
void SQLiteCSLib.Inner.OSQLiteDBWrap.Interrupt | ( | ) |
bool SQLiteCSLib.Inner.OSQLiteDBWrap.Open | ( | string | filename | ) |
接続
filename | データベース接続パス |
OSQLiteDBWrap.cs の 57 行で定義されています。
00058 { 00059 return osqlite3_open( m_impl, filename ); 00060 }
IntPtr SQLiteCSLib.Inner.OSQLiteDBWrap.m_impl = IntPtr.Zero [protected] |
内部インスタンス
OSQLiteDBWrap.cs の 15 行で定義されています。