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 table called TreatmentRegimen. When I drag that table into the Lightspeed designer the entity is renamed to TreatmentRegiman.
I turned on "Pluralised in DB" but the name change still occurs. Before I drag the table into the designer I also checked that the Domain.cs has no refrence to TreatmentRegimen or TreatmentRegiman. Any help appreciated. Regards Rainer
|
|
|
This is a bug in our singularisation algorithm -- our algorithm is thinking that "...men" is the plural of "...man", and using this incorrect singular for the entity name. (It does this because entity class names are always singular, but some databases have plural table names.) We'll need to add a special case for "regimen." To work around this, just select the entity after dragging it, and change the Name to TreatmentRegimen, either by clicking on the incorrect name and editing it in place, or via the Properties window. (And you'll probably want to turn "Pluralised in DB" back to false.) |
|