This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi, I have a single table inheritance class hierarchy. At present I have a class called "Communication" which is the base class, then there is a class called "Email" which inherits from "Communication" and finally I have "InvitationEmail" which inherits from "Email". I have created an "Invitation Email Object" but when I try to commit it to the database I get a exception 'Invalid Object Name "Communication"'. I'm hoping this is a common problem and someone is able to tell me what I might be doing wrong. Thanks Andy |
|
|
This probably means there is no "Communication" table in the database. Could that be the problem? Note: if your table is named "Communications" rather than "Communication," you need to set LightSpeedContext.PluralizeTableNames = true (in code or config); LightSpeed won't automatically try the plural form. |
|