iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hello,
I created a model "PessoaModel," and I tried to save the sqlite, but tou some problems, the first would think that I am unable to save my data in sqlite. The second is that I'm not getting in my "PessoaListViewModel.cs" use "this.SourceItems = conexao.Connection () Table <PessoaModel> () ToListAsync ();.."
Hi Gabriel,Continuation from last thread:If you want to use basic method (without AppFramework) you can refer to this http://developer.intersoftsolutions.com/display/crosslight/Local+Data+Access and its child articles.Also one thing you must remember is if you want to use Async & Await method you must dowload the Bcl.Async from Nuget (Add NuGet Packages in Xamarin Studio, Manages NuGet Packages for Solutions in Visual Studio).I think the problem with your code is you are not yet initialize your DB, second problem is because you are using task method (toListAsync()), please check the attachment for examples, also don't forget to download the Bcl.Async for this project!Notes: as this is just for practice i put the table exist inside viewmodel, the best practice is by putting it in onstart method in appservice.csHope that'll helps!
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname