Bug 3698

Proposal: Save Model Names for DataObject Migration 13 May, 2020

Roland Mühlberger
27 November, 2019
Product: .NET DataStore Category: DataWindow Converter
Version: 2019 R2 Beta Build:
Classification: Enhancement Publishing: Public
Priority: P3
Status: Analyzing Reason:
Logan Liu @Appeon 19 March, 2020
Hi Roland,

Thanks for your suggestion!

Roland Mühlberger 18 March, 2020
Well not exactly. There should be a mapping somewhere that saves DataObject/PBL/PBT information to model names that the developer has chosen. But after all, this is an enhancement request and not of high priority to me.
Logan Liu @Appeon 08 March, 2020

Hi Roland,

See attached. We can add a prefix and a suffi around the dataobject names now. Do you think this is what you need?

Logan Liu @Appeon 29 November, 2019
Hi Roland,

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

Chris Pollach @Appeon 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.
Nuget Package Version:
Database Type:
Database Version: