Best practice example on BO inheritance


Author
Message
Ross L. Rooker, Sr.
Ross L. Rooker, Sr.
StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)
Group: Forum Members
Posts: 153, Visits: 462
This is the result of a prior thread but this question was never answered.

Do you have a small sample of a BaseBoSql that would be used as the base business object. Then as you indicated a "useOracleFlag" that would indicate in this BaseBOSql that would tell the BaseBoSql that it needs to use Oracle (BaseBoOracle) and that the BaseBoSql would be instructed to have it's code where it varies to be overridden by the BaseBoOracle business object? Just taking a small sample of a SQL Database "MyDatabase" with a "tbl_Customer" table with 2 columns "customer_Id" and "customer_Name". The Oracle database would be named exactly the same as the SQL Database, sample table and column names and the same case (upper/lower). If you could show a sample code of how to accomplish this, I am sure it would be helpful to others.

I could also heavily modify the mapped bo to use the "useOracleFlag" to include "IF" sections for the generated SQL specific commands or the Oracle commands. Unfortunately, regardless of which approach is taked, it appears that once this is done, you could never regenerate the BO from the database again.

StrataFrame Team
S
StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
We will be releasing a new sample called StrataFlix which will show how to do this very thing.  We are giving it to our class attendees, but it is not quite finished.  We will still release it prior to finishing the entire application, but it will still be a week or so before we release this sample.
Ross L. Rooker, Sr.
Ross L. Rooker, Sr.
StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)
Group: Forum Members
Posts: 153, Visits: 462
Do you have an ETA on StrataFlix sample?
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
It will not be made public available for several weeks.  Class attendees were the first to get it and are helping in the beta process.  The sample is also not complete as of yet.  So to reduce in the number of questions, we will not release it until we have it further along, which as I mentioned above, will be several weeks before it is in a state (not entirely complete) that we feel comfortable releasing it to the general community at large.  This is the reason the class was able to get the sample as there was a vast amount of additional instruction given.
Ross L. Rooker, Sr.
Ross L. Rooker, Sr.
StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)
Group: Forum Members
Posts: 153, Visits: 462
I hope just a week. So that the non-class members can also participate in this. Although we did not attend the class, when have something great to controntribute I do feel that an earlier sample will yield a better sample. Also we are in a situation that is urgent to make an internal decision using Stratafame over the long term. We want to be brought into to developement team as close as possable to help work with Microfour closely create the best framework for .net.
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