RSS Feed

Handwritten SQLite to Core Data, Part1

January 16, 2010 by james

I recently completed an app for a client at work, and while it was being written, Core Data was only available in the beta phase, so we pushed it out using handwritten sql queries.  Now me being a .net programmer and having experienced the change from TableAdapters and hand written SQL to ORMs (Linq, in particular), i know that using those have its advantages and disadvantages, and ill voice them here as i go through the project.

Pros: Less Code, Very Little Handwritten SQL (Predicates still need it)

Cons:Any numeric value and Bools are saved as NSNumber.

All in all its a fun adventure so far, ill keep you up to date!


1 Comment »

  1. [...] you keep up with my blog, you’ll see ive been moving a project from SQLite to Core Data, here’s an [...]

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>