Xamarin Live Error with SQLite -


i have error using sqlite xamarin live in shared project error :

uncaught exception no body on method sqlite.sqliteasyncconnection.. 

the code connection is:

[assembly: dependency(typeof(sqlitedb))] namespace helloworld.ios {     public class sqlitedb : isqlitedb     {         public sqliteasyncconnection getconnection()         {             var documentspath = environment.getfolderpath(environment.specialfolder.mydocuments);              var path = path.combine(documentspath, "mysqlite.db3");             return new sqliteasyncconnection(path);         }     } } 

the code in page is:

  public usingcrud()     {         initializecomponent();          //call getconnection() method , link our private field.        _connection = dependencyservice.get<isqlitedb>().getconnection();     } 


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -