BO w/mixed case field names from FoxPro


Author
Message
Chris Diesel
Chris Diesel
StrataFrame User (128 reputation)StrataFrame User (128 reputation)StrataFrame User (128 reputation)StrataFrame User (128 reputation)StrataFrame User (128 reputation)StrataFrame User (128 reputation)StrataFrame User (128 reputation)StrataFrame User (128 reputation)StrataFrame User (128 reputation)
Group: StrataFrame Users
Posts: 74, Visits: 300
Can I modify the business object's field names in the BO Mapper to camel case notation instead of all lower case?
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
The casing is brought in matching the schema.  So in order to do this, you would just need to let the partial class be built normally, then you would have to open the designer file, make the change that you want, then copy that change into the Custom Code section of the field in the BO Mapper.  The downside is that you would have to do this for every property and if you were to add a new field or change an existing field name, you would have to remember to go in and make that change manually.
Chris Diesel
Chris Diesel
StrataFrame User (128 reputation)StrataFrame User (128 reputation)StrataFrame User (128 reputation)StrataFrame User (128 reputation)StrataFrame User (128 reputation)StrataFrame User (128 reputation)StrataFrame User (128 reputation)StrataFrame User (128 reputation)StrataFrame User (128 reputation)
Group: StrataFrame Users
Posts: 74, Visits: 300
Would be nice if the BO mapper would allow editing of the field name property (case wise that is).
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
This has been discussed in many other threads....but it becomes more complicated that just changing the column name as a whole.  This has been on the list of potential enhancements for a very long time, but there are other complications that would have to be accounted for before we can make a global change.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search