excel-mapper icon indicating copy to clipboard operation
excel-mapper copied to clipboard

Matching from different variants of the column name

Open Parsifal9209 opened this issue 2 years ago • 0 comments

is there a way to match if a column in my excel file can have different names when the name is not hardcoded but can be one of the listed ones. my file excel headers column1 | column2 id or partner_id or client_id | client_fio or partner_fio or fio

want something like this Map(person=> person.PartnerId) .WithColumnNames(new[] { "id ", "partner_id", "client_id"});

Parsifal9209 avatar Dec 09 '22 06:12 Parsifal9209