Interesting...
Do you really need to read all file information into memory before
inserting it into the database?

If not, you could implement your *collection class* as an enumerable,
that is, it will actively read the file for one record/class/struct
(whatever you want to call it). and there for using one and only one
instance of a record/class/struct, making the discussing
struct-or-class irrelevant...
This approach will *kick-ass* in a performance perspective.

// Ryan

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to