Questions? Feedback?powered byOlark live chat software
Bug 3698

Proposal: Save Model Names for DataObject Migration 29 November, 2019

Roland Mühlberger
27 November, 2019
Product: PowerBuilder Category: C# Model Generator
Version: 2019 R2 Beta Publishing: Public
Status: Analyzing Priority: P3
Classification: Enhancement Resolution:
Logan Liu 29 November, 2019
Hi Roland,

I think your proposal is reasonable and I will give you an exact answer next week.

Chris Pollach 27 November, 2019
Hi Roland;

   Thank you for all your efforts in testing the PB2019R2 beta software and also for bringing this issue to Appeon's attention!

   I will now transfer this ticket over to the main Support / Engineering Team for a resolution towards your C# generation problem.

Regards ... Chris
Roland Mühlberger 27 November, 2019
ChangingModelNames.png (12KB)


When generating C# models from a DataWindow, there are two options that we permanently need to change for a correct migration: 

1) the directory where the models are being created (.../Models)
2) the name of the model itself. The default is the name of the DataObject, but we always change it to something like "SpecialObjectModel". 


1) save the directory where models have been created last and use it as default
2) save the name of the model for a specific PBL/DataObject-combination and use it in subsequent migrations.

*Reproduce Steps:

Just do a DataObject to C# Model migration of the same DataObject more than once :)


Because we do model migration more than once this is rather annoying.
Database Type:
Database Version: