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
|
I have a table with a field named J4_event. For a reason i ignore, the underscore is stripped at runtime... Can anybody explain ? |
|
|
When the LightSpeed designer creates classes and properties, it tries to make them conform to .NET naming conventions -- that is, PascalCasedNames instead of underscored_names. You can of course rename the property back to J4_event if that is what you prefer. The property should still be mapped to the J4_event column via the Column Name setting. |
|
|
That is not what really happen. The property is names j4event which is what i want, I set the colunm name property to j4_event but still an error message is raised at runtime. |
|
|
What is the error message? What is the generated SQL? You can dump the generated SQL to the Output window by setting: unitOfWork.Context.Logger = new TraceLogger(); |
|