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 downloaded buidl 20090302 and have a try with below simple model with SQL Server 2005: 1) DbOjbect: 3) Company: DbCodeName (ConcreteInheritance) Then 2) If I click Update Database for second time (Company table already created) I suppose those fields should be created in one click operation. |
|
|
Hi, There is another small issue: When I add the inheritance to Company, the Company Id Type(Int32) not follow Base Class's Id Type (Int64), I think it's convenient and logical to automatically set Company's Id Type to Base Class's Id Type. Regards |
|
|
Thanks for reporting these issues. Looks like we're not correctly considering inherited properties in the Create Table operation (only when updating existing tables). And you're right, the Identity Type of derived classes should be ignored. I've logged bugs for these and will look into getting you a fix. I'll investigate the behaviour of the CreatedOn and UpdatedOn special columns. I'm not sure how LightSpeed handles these being defined in a base class, but I think it should be as you describe, in which case designer sync needs to be fixed to consider these "special properties" when handling CTI. Thanks again for letting us know about this. |
|