Ok, we are getting OT with my original problem. I still don't get how you can downcast a class though? If I was doing nothing but creating books, I would have no problem with what you suggest, but I just don't get how when my starting point is a list of Metadata objects retrieved like this:
mi = db.get_metadata(row.row())
that I can somehow downcast that Metadata object returned from that function into a SeriesBook class? I apologise if this is Python ignorance here, its just something you can't do in C# when an object has been created as the base class?
|