I have a whole host of data access layer code written like below:  

DataSet ds = new DataSet("Result");
using (SqliteConnection conn = new SqliteConnection(dbPath))
{
    conn.Open();
    SqliteCommand cmd = new SqliteCommand();                        
    cmd.Connection = conn;
    cmd.CommandText = "SELECT col1, col2 from myTable";                         
   
    SqliteDataAdapter dataAdapter = new SqliteDataAdapter(cmd);                 
       
    dataAdapter.Fill(ds);                        
    conn.Close();                    
}

I get the following exception:

{System.EntryPointNotFoundException: sqlite3_column_origin_name  at (wrapper
managed-to-native)
Mono.Data.Sqlite.UnsafeNativeMethods:sqlite3_column_origin_name (intptr,int) 
at Mono.Data.Sqlite.SQLite3.ColumnOriginalName
(Mono.Data.Sqlite.SqliteStatement stmt, Int32 index) [0x00000] in ....

Is there any configuration that I need to perform? Any help is appreciated. 

Thanks in advance

--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/SqliteDataAdapter-Fill-method-support-tp5070293p5070293.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to