How Change TableSchema Programatly ?


Author
Message
Elio Reyes
Elio Reyes
StrataFrame Beginner (46 reputation)StrataFrame Beginner (46 reputation)StrataFrame Beginner (46 reputation)StrataFrame Beginner (46 reputation)StrataFrame Beginner (46 reputation)StrataFrame Beginner (46 reputation)StrataFrame Beginner (46 reputation)StrataFrame Beginner (46 reputation)StrataFrame Beginner (46 reputation)
Group: Forum Members
Posts: 46, Visits: 251


HI



I'm using a 3rd party database, in the database design they put Schema as a company and in my SF application I have to change depends to the company I going to work to, but I do when I fill the BO and it still using the TableSchema property made by the BO Build.



Public Overrides ReadOnly Property TableSchema() As String

Get

Return "P_T_P"

End Get

End Property



Any suggestions how to change this are welcome.



Thanks SF

Replies
Dustin Taylor
Dustin Taylor
StrataFrame Team Member (938 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 (184 reputation)StrataFrame User (184 reputation)StrataFrame User (184 reputation)StrataFrame User (184 reputation)StrataFrame User (184 reputation)StrataFrame User (184 reputation)StrataFrame User (184 reputation)StrataFrame User (184 reputation)StrataFrame User (184 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?
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Elio Reyes - 17 Years Ago
Edhy Rijo - 17 Years Ago
Elio Reyes - 17 Years Ago
Elio Reyes - 17 Years Ago
Trent L. Taylor - 17 Years Ago
Edhy Rijo - 17 Years Ago
Elio Reyes - 17 Years Ago
Edhy Rijo - 17 Years Ago
Elio Reyes - 17 Years Ago
Greg McGuffey - 17 Years Ago
Chris Diesel - 15 Years Ago
Dustin Taylor - 15 Years Ago
Chris Diesel - 15 Years Ago
Dustin Taylor - 15 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search