Currently, I build two classes for each database table. For instance, if I have the table person, I will have the classes Person_List and Person.
Design-wise, is it better
- for
Person_Listto output an array ofPerson; or - for it to output an array containing arrays of rows in the table.
Performance-wise, which is better?