You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, the formatter can only write to Excel documents, but there's no reason it shouldn't be possible to deserialise data from an Excel document to a collection of objects.
The text was updated successfully, but these errors were encountered:
Read data from stream into an Excel document with EPPlus.
If the target type is a "simple" type, each item can be cast directly to that type.
If the target type is a class, try to use headings to determine what values correspond to properties, taking into account any ExcelAttribute.Heading specified on members.
If the target type is a class and there is no heading row, deserialise based on order, taking into account any ExcelAttribute.Order specified on members.
If the target type doesn't implement IEnumerable, just deserialise the first non-header row into the target type.
If the target type does implement IEnumerable, deserialise each row into an item of the target type's item type.
In practise, I'm certain that a dozen horrible and unanticipated scenarios will crop up—
Right now, the formatter can only write to Excel documents, but there's no reason it shouldn't be possible to deserialise data from an Excel document to a collection of objects.
The text was updated successfully, but these errors were encountered: