Re: Using existing SQLite database with core data?
Re: Using existing SQLite database with core data?
- Subject: Re: Using existing SQLite database with core data?
- From: mmalc crawford <email@hidden>
- Date: Sun, 6 Apr 2008 22:44:36 -0700
On Apr 6, 2008, at 7:35 PM, Quincey Morris wrote:
On Apr 6, 2008, at 19:09, Peter Zegelin wrote:
I have an existing database application that uses sqlite but was
not created using Core Data. Is there any reasonable way to get
core data to use an existing database and 'reverse engineer' the
entities and relationships to create its model?
No.
Core Data is an object graph management system with a persistent
store, not a database client or server:
The fact that Core Data is an object graph management and persistence
framework does not in an of itself preclude it from reverse
engineering an existing database. EOF is also an "object graph
management and persistence framework" but it is able to create a model
by interrogating a database. Core Data happens not to have that
functionality.
mmalc
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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