Aurelius export: no indices |
Post Reply ![]() |
Author | |
Grobety Stephane ![]() Senior Member ![]() Joined: 04 Jan 2014 Posts: 120 |
![]() ![]() ![]() ![]() Posted: 28 Mar 2018 at 9:56am |
Hello,
I have several indices defined in my data structure. Yet, the corresponding DBIndex decoration is missing from all classes exported as Aurelius entities. Is there a parameter somewhere that governs this behavior ?
|
|
![]() |
|
Wagner R. Landgraf ![]() TMS Support ![]() Joined: 18 May 2010 Posts: 2547 |
![]() ![]() ![]() ![]() |
No, DBIndex attribute is not exported by Data Modeler, yet.
|
|
![]() |
|
Grobety Stephane ![]() Senior Member ![]() Joined: 04 Jan 2014 Posts: 120 |
![]() ![]() ![]() ![]() |
Thank you for your answer. Any idea when it will be included ?
|
|
![]() |
|
Wagner R. Landgraf ![]() TMS Support ![]() Joined: 18 May 2010 Posts: 2547 |
![]() ![]() ![]() ![]() |
We have it in our huge backlog, but no timeframe set yet. Maybe in a couple of months.
|
|
![]() |
|
Grobety Stephane ![]() Senior Member ![]() Joined: 04 Jan 2014 Posts: 120 |
![]() ![]() ![]() ![]() |
Hello,
would it be possible to have an update on the status of this feature ? We're moving ahead with our migration of a rather large BDE application (100+ tables) that makes heavy use of indices and creating them manually will be a rather long task: I don't want to spend weeks of work on that if the functionality will be readily available soon (plus, manually adding the index attributes makes it impossible to re-generate the entities). Thanks
|
|
![]() |
|
Grobety Stephane ![]() Senior Member ![]() Joined: 04 Jan 2014 Posts: 120 |
![]() ![]() ![]() ![]() |
Could I get an answer to my question, please ?
|
|
![]() |
|
Farias Anderson ![]() New Member ![]() Joined: 19 Jan 2018 Posts: 26 |
![]() ![]() ![]() ![]() |
I guess you can use the Script tab to implement what you need:
|
|
![]() |
|
Grobety Stephane ![]() Senior Member ![]() Joined: 04 Jan 2014 Posts: 120 |
![]() ![]() ![]() ![]() |
That is an excellent idea! Thanks
|
|
![]() |
|
Wagner R. Landgraf ![]() TMS Support ![]() Joined: 18 May 2010 Posts: 2547 |
![]() ![]() ![]() ![]() |
Indeed, I simply forgot that you could do that from customization script. That was actually the reason to implement the script: to allow users export more attribute and/or customize generated code, without the need to implement every single feature in Data Modeler.
You can use the following code in customization script to export DBIndex attributes from the existing indexes:
|
|
![]() |
Post Reply ![]() |
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |