-
Jul 27th, 2012, 09:16 AM
#1
Custom Entity attribute names when Reverse Engineering Database?
Wondering if there is a way this can be accomplished with an existing config mechanism, or a adjustment of the dbre command...
Lets say I have an Employee table in our database, and using our naming conventions for column names we have the following columns...
- EmployeeID
- EmployeeFirstName
- EmployeeLastName
By default, when i dbre this table, it will give me the following attributes of the entity...
- employeeId
- employeeFirstName
- employeeLastName
So by default when i want to grab the employee id i have to reference it as employee.employeeId, and so on for the other attributes.
Preferably, I would like to be able to use employee.id instead.
Is there a way to have the dbre generate the following attribute names, without changing the column names in the table?
- id
- firstName
- lastName
Thanks,
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules