excel-mapper
excel-mapper copied to clipboard
Fluently map excel rows to C# objects
To add the ability to map custom types (#87 ), I suggest making StringMapper the default mapper
```csharp public record Id(int Value); public class Data { public Id Id { get; private set; } } ``` Why is it forbidden to register non-primitive types? ```csharp Map(data =>...
The scenario is the same as another issue #83. And instead of using custom mapping, is it possible to use `ExcelIgnore` to handle the exception if a column is missing?
``` ExcelSheet sheet = importer.ReadSheet(); var items = sheet.ReadRows(); if (!items.Any()) { //Handle empty set } var list = items.ToList(); // This is now missing the first item from the...
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...
@hughbe I'm facing an issue while reading a number which starts with 0. I couldn't able to read data which start with 0. How do I resolve this. For Instance...
How to map string like "24:00:00" to DateTime or TimeSpan ? Do l must map "24:00:00" to string first and then try to convert it to TimeSpan?