sqlite3_column_text() private method

private sqlite3_column_text ( IntPtr stmt, int index ) : IntPtr
stmt System.IntPtr
index int
return System.IntPtr
Beispiel #1
0
        internal override DateTime GetDateTime(SqliteStatement stmt, int index)
        {
#if !SQLITE_STANDARD
            int len;
            return(ToDateTime(UnsafeNativeMethods.sqlite3_column_text_interop(stmt._sqlite_stmt, index, out len), len));
#else
            return(ToDateTime(UnsafeNativeMethods.sqlite3_column_text(stmt._sqlite_stmt, index), -1));
#endif
        }
Beispiel #2
0
        internal override string GetText(SqliteStatement stmt, int index)
        {
#if !SQLITE_STANDARD
            int len;
            return(UTF8ToString(UnsafeNativeMethods.sqlite3_column_text_interop(stmt._sqlite_stmt, index, out len), len));
#else
            return(UTF8ToString(UnsafeNativeMethods.sqlite3_column_text(stmt._sqlite_stmt, index), -1));
#endif
        }
 internal override DateTime GetDateTime(SqliteStatement stmt, int index)
 {
     return(ToDateTime(UnsafeNativeMethods.sqlite3_column_text(stmt._sqlite_stmt, index), -1));
 }
Beispiel #4
0
 internal override byte[] GetTextBytes(SqliteStatement stmt, int index)
 {
     return(GetStringBytes(UnsafeNativeMethods.sqlite3_column_text(stmt._sqlite_stmt, index), -1));
 }
 internal override string GetText(SqliteStatement stmt, int index)
 {
     return(UTF8ToString(UnsafeNativeMethods.sqlite3_column_text(stmt._sqlite_stmt, index), -1));
 }