Persist object to SQLCE row

D

David Webb

I have a number of classes that I would like to be able to persist to an
SQLCE database table row. The table structures match the classes exactly
for all public members. For now, I am writing load() and save() methods in
the classes that generate the necessary INSERT, UPDATE, and SELECT
statements. I was wondering if there may be a simpler way to do this - a
bit more automatically, maybe. I don't want to serialize the objects and
just have them stored as a large XML strings.

Any Suggestions?

Thanks,
Dave
 
D

David Webb

That looks great, but I need to stick with the free runtime programs (SQLCE)
for now.

-Dave
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top