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
|
Given the following table in ORACLE
When I drag and drop this table onto the LightSpeed designer, it creates the following POCO class.
Lightspeed thinks the NUMBER(38) maps to a C# long, which it doesn't! NUMBER(19) maps to a C# long. Also, AvailMsgId and Vendor_Status attributes are missing since NUMBER(4) and NUMBER(3) do not map to a C# type. If I'm not able to change the table's column data types for existing ORACLE tables, how can I get Lightspeed to generate all of the attributes if the ORACLE data types do not match a C# type? |
|
|
BTW, I'm using the "Oracle9Odp" data provider.
|
|
|
Are you expecting NUMBER(38) to map to a decimal? If so this is not a valid identity type which is why we map to long. In terms of the other two entity properties you can add these manually to your entity definition but be aware that you wont be able to perform synchronisation for that entity.
|
|