New Posts New Posts RSS Feed: GenerateId on Subclasses
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

GenerateId on Subclasses

 Post Reply Post Reply
Author
danielp37 View Drop Down
Newbie
Newbie


Joined: 18-Mar-2008
Location: United States
Posts: 29
Post Options Post Options   Quote danielp37 Quote  Post ReplyReply Direct Link To This Post Topic: GenerateId on Subclasses
    Posted: 27-Oct-2008 at 8:53am
I have an abstract Base Class called ScheduledItem and several subclasses (ScheduledPayment, ScheduledTrade, etc).  When I perform and EntityManager.GenerateId(scheduledPayment, ScheduledItemIdDataEntityProperty) it throws an error of "The EntityType ScheduledItem for Property ScheduledItemId must be of EntityType ScheduledPayment".

How am I supposed to be able to use GenerateId on Subclasses?

Thanks,

Dan
Back to Top
kimj View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 09-May-2007
Posts: 1391
Post Options Post Options   Quote kimj Quote  Post ReplyReply Direct Link To This Post Posted: 27-Oct-2008 at 1:10pm
Dan, thanks for bringing this to our attention.  This is a bug, and unfortunately there is no workaround at this time.  We'll have this fixed in the next release; if you need a fix sooner, please contact support.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down