I do not really understand what you mean by saying: "Use the methods of the ObjectFactory class"
I guess you just need to read the data from the SQL statements, populate the object and marshal them.
Think that if you were using an Object-Oriented database it would be even easier, but not sure about this one.
Gustavo.