How to persist when all you have is an interface <<Car>> ?
posted 7 years ago
I have an application that parse some data. The data is a list of cars (interface). <<Car>>
Question: say I have a list of cars how can I persist them? I mean it's an interface and it's implementation comes from ABCCar or DEFECar
Again, at the end of the parsing-process, I have a list of cars and I wish to persist them all.