• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Updating Mapping Model after changing schema
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Updating Mapping Model after changing schema


  • Subject: Re: Updating Mapping Model after changing schema
  • From: Rick Mann <email@hidden>
  • Date: Thu, 26 Feb 2015 17:32:47 -0800

Oh, maybe. I'll try that next time (I already blew away and re-created the file).

Thanks!

> On Feb 26, 2015, at 17:09 , Sean McBride <email@hidden> wrote:
>
> On Thu, 26 Feb 2015 17:00:49 -0800, Rick Mann said:
>
>> A problem I run into a lot with automatic migration using a Mapping
>> Model is that I'm usually in the process of making incremental changes
>> to my schema. So I create a Mapping Model, modify it as necessary, and
>> things are fine.
>>
>> But then if I change the schema again, that Mapping Model is not found.
>> In this case, I added some optional attributes to an Entity, and so the
>> Mapping Model no longer matches.
>>
>> But if I try to add attribute mappings for those new attributes, I
>> can't. The Mapping Model editor only lets me choose from a set of
>> destination attributes, and it doesn't show any of the new ones.
>>
>> I can create a new Mapping Model that picks those up, but then I lose
>> the customizations I've done, which can be quite tedious and error-prone
>> to reproduce.
>>
>> Does anyone have a solution for this? TIA,
>
> Xcode menu bar: Editor > Refresh Data Models.  Or maybe I misunderstand what you want...
>
> Cheers,
>
> --
> ____________________________________________________________
> Sean McBride, B. Eng                 email@hidden
> Rogue Research                        www.rogue-research.com
> Mac Software Developer              Montréal, Québec, Canada
>
>
>
> _______________________________________________
>
> 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


--
Rick Mann
email@hidden



_______________________________________________

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


References: 
 >Updating Mapping Model after changing schema (From: Rick Mann <email@hidden>)
 >Re: Updating Mapping Model after changing schema (From: Sean McBride <email@hidden>)

  • Prev by Date: Re: Updating Mapping Model after changing schema
  • Next by Date: Re: Updating Mapping Model after changing schema
  • Previous by thread: Re: Updating Mapping Model after changing schema
  • Next by thread: Re: Updating Mapping Model after changing schema
  • Index(es):
    • Date
    • Thread