Re: Embedded database server or CoreData?
Re: Embedded database server or CoreData?
- Subject: Re: Embedded database server or CoreData?
- From: "I. Savant" <email@hidden>
- Date: Thu, 11 Jan 2007 19:01:26 -0500
On Jan 11, 2007, at 6:06 PM, Brian Weitzner wrote:
I'd rather use Core Data if at all possible. I've never used
Core Data before and don't really know where to start.
Read the documentation. It sounds like a crass response, but it's
absolutely the correct one. :-)
How should I go about making my MySQL database into a Core Data
entity? Is this possible?
Well ... it depends on what you're trying to use it for. Again,
the documentation will describe its capabilities (and limitations) in
fairly clear detail. If you find that it works for your purposes and
you know your database schema, you *should* be able to recreate it
with Core Data (specifically with XCode's data modeler tool).
If it is, how would you submit the SQL queries, or would I have to
translate them all into Core Data formatted queries?
This is covered in detail, with code examples, in the
documentation. And now a word from our sponsors:
Core Data Programming Guide
http://developer.apple.com/documentation/Cocoa/Conceptual/CoreData/
index.html
NSPersistentDocument Core Data Tutorial
http://developer.apple.com/documentation/Cocoa/Conceptual/
NSPersistentDocumentTutorial/index.html
--
I.S.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden