morrisjdev / FileContextCore

FileContextCore is a "Database"-Provider for Entity Framework Core and adds the ability to store information in files instead of being limited to databases.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Excel: Read properties from column with corresponding header

n-junge opened this issue · comments

I'm using FileContextCore to read existing Excel files and perform actions on those.
Currently the Excel deserializer always assumes that the columns are ordered alphabetically with the primary key in the first column. This might, however, not always be the case.

The Excel (de-)serializer should match the properties with the Excel column header. I append my solution to this as pull request.