c# - SQLite Async Connection missing WithChildren Methods -


i have xamarin forms project uses sqlite. have parent , child model correct foreign key, manytoone , cascading options on relevant fields.

i have been using scott hanselman's asynclock class (http://www.hanselman.com/blog/comparingtwotechniquesinnetasynchronouscoordinationprimitives.aspx) in db methods this:

public async task<list<client>> getallasync() {     list<client> clients = new list<client>();     using (await sqlitebase.mutex.lockasync().configureawait(false))     {        //sqliteasyncconnection _connection set elsewhere...         clients = await _sqlitebase._connection.table<client>().tolistasync().configureawait(false);     }             return clients; } 

no problem far. issue facing, cannot see cascading actions on connection. added normal sqliteconnection, had -withchildren methods, need use sqliteasyncconnection connection.

i have references sqlite.net, sqlitenetextensions, sqlite.net.async , sqlitepcl.raw.

why can't see ~withchildren methods on async connection object?

you have add sqlitenetextensions.async package project https://www.nuget.org/packages/sqlitenetextensions.async/


Comments