Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

No, it is not possible to utilize EPPlus ToCollection<t> without the need to manually map all properties of a class. ToCollection<t> method requires mapping all properties of a class to the corresponding columns in the Excel worksheet. This ensures that the data is correctly and accurately transferred between the class and the worksheet. However, there are third-party libraries such as AutoMapper that can simplify the process of mapping properties between classes.