How Change TableSchema Programatly ?


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
I know this is an old thread, but I have just come across the need to override the TableSchema property too, but I'm confused.  How can I override this property in a base level class when it's being overridden at a higher level in each business object's designer code?  Doesn't this just override my base class code then? Ermm  Thanks!
Dustin Taylor
Dustin Taylor
StrataFrame Team Member (658 reputation)
Group: StrataFrame Users
Posts: 364, Visits: 771
You're right, this does at present require the manual step of removing the table schema from the designer file whenever you build the BO mapper. Once it is removed, you can set the table schema as an overridable property on the BO itself (or the base BO) to handle it from there.
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
Thanks for looking!  Is this something you guys would consider changing?  Maybe make the base property so it's read/write, doesn't have to be overridden and set the default value in the constructor?
Dustin Taylor
Dustin Taylor
StrataFrame Team Member (658 reputation)
Group: StrataFrame Users
Posts: 364, Visits: 771
I believe Trent already has it on the list of Enhancements for our next BO Mapper update Smile. I'll confirm that with him and let you know once I have a more concrete idea of the ifs and whens.
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