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

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -