sqlite3_column_origin_name() private method

private sqlite3_column_origin_name ( IntPtr stmt, int index ) : IntPtr
stmt System.IntPtr
index int
return System.IntPtr
Beispiel #1
0
        internal override string ColumnOriginalName(SqliteStatement stmt, int index)
        {
#if !SQLITE_STANDARD
            int len;
            return(UTF8ToString(UnsafeNativeMethods.sqlite3_column_origin_name_interop(stmt._sqlite_stmt, index, out len), len));
#else
            return(UTF8ToString(UnsafeNativeMethods.sqlite3_column_origin_name(stmt._sqlite_stmt, index), -1));
#endif
        }
 internal override string ColumnOriginalName(SqliteStatement stmt, int index)
 {
     return(UTF8ToString(UnsafeNativeMethods.sqlite3_column_origin_name(stmt._sqlite_stmt, index), -1));
 }