﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - Crosslight - Problem Sqlite</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Problem-Sqlite/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Problem Sqlite</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Problem-Sqlite/</link><pubDate>Thu, 27 Aug 2015 06:35:17 GMT</pubDate><dc:creator>Arief</dc:creator><category>android</category><category>Crosslight</category><category>Sqlite</category><description>&lt;p&gt;The next method is if you dont want to use our framework which i will explain in your other thread:&lt;br&gt;&lt;a href="http://www.intersoftsolutions.com/Community/Crosslight/Problem-saving-object-in-sqlite/" target="_blank"&gt;http://www.intersoftsolutions.com/Community/Crosslight/Problem-saving-object-in-sqlite/&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Problem Sqlite</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Problem-Sqlite/</link><pubDate>Thu, 27 Aug 2015 04:20:35 GMT</pubDate><dc:creator>Arief</dc:creator><category>android</category><category>Crosslight</category><category>Sqlite</category><description>&lt;p&gt;Hi Gabriel&lt;br&gt;&lt;br&gt;First of all i will show you how to make it the right way (using Crosslight, and Our AppFramework which simplify everythings):&lt;br&gt;&lt;br&gt;You can check your project in the attachment named Teste which already go through these steps&lt;br&gt;&lt;br&gt;here is my steps:&lt;br&gt;1. Add reference to Intersoft.AppFramework in both Android and Core&lt;/p&gt;&lt;p&gt;2. Go to nuget packages and add Bcl.Async (To Use Async and Await )&lt;br&gt;&lt;br&gt;3. In your Teste.Core/Infrastructure/AppService.cs, register your needed service, and on application start create table if not yet created&lt;/p&gt;&lt;p&gt;4. Don't forget to delete your modelBase.cs and container.cs in your Teste.Core because we will be using the one in AppFramework&lt;/p&gt;&lt;p&gt;5. In your PessoaModel you &lt;b&gt;can&lt;/b&gt; add [DataMember] for field that you want to save in local database, [IgnoreDataMember] if you don't want to save to local database, but please remember this is actually &lt;b&gt;not necessary&lt;/b&gt;, the most important is only [Primary Key]&lt;/p&gt;&lt;p&gt;6. Now you can Update Delete or Save from anywhere whenever you call LocalDataRepository using IOC Container as you can see in PessaoDetailViewModel&lt;/p&gt;</description></item><item><title>Problem Sqlite</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Problem-Sqlite/</link><pubDate>Wed, 26 Aug 2015 13:50:11 GMT</pubDate><dc:creator>gabrielswapi</dc:creator><category>android</category><category>Crosslight</category><category>Sqlite</category><description>&lt;p&gt;hi Arief,&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;Thank you so much for your help.&lt;/p&gt;&lt;p&gt;&amp;nbsp; I was reading(http://developer.intersoftsolutions.com/display/crosslight/Using+Crosslight+SQLite+for+Local+Data+Storage), Next came a doubt, which place the SQLiteConnection and Db Property? and where would be the part of the code which creates the tables?&lt;/p&gt;</description></item><item><title>Problem Sqlite</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Problem-Sqlite/</link><pubDate>Wed, 26 Aug 2015 02:53:24 GMT</pubDate><dc:creator>Arief</dc:creator><category>android</category><category>Crosslight</category><category>Sqlite</category><description>&lt;p&gt;Hi Gabriel,&lt;br&gt;&lt;br&gt;You must add the reference to the assemblies first before Import/Using the Crosslight.Data, you can find your assemblies in you Packages folder in your project, i attach your project with complete references&lt;br&gt;&lt;br&gt;You can try these 2 samples:&amp;nbsp;http://git.intersoftpt.com/projects/CROS-SUPP/repos/sqlite-sample and for more advance: http://git.intersoftpt.com/projects/CROS-SUPP/repos/sqlite-sample-businesstemplate&lt;br&gt;&lt;br&gt;also you can check our tutorial for SQLLite here:&amp;nbsp;http://developer.intersoftsolutions.com/display/crosslight/Using+Crosslight+SQLite+for+Local+Data+Storage&lt;br&gt;&lt;br&gt;Hope that'll helps!&lt;/p&gt;</description></item><item><title>Problem Sqlite</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Problem-Sqlite/</link><pubDate>Tue, 25 Aug 2015 20:18:38 GMT</pubDate><dc:creator>gabrielswapi</dc:creator><category>android</category><category>Crosslight</category><category>Sqlite</category><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;I am creating a test project, and would like to study more about sqlite, I am unable to import into my project ".Core" the "CrossLith.Data" as could solve this problem and I wonder if Voes has some sample project using sQLite so I can base myself in it.&lt;/p&gt;</description></item></channel></rss>