Add a way to gather unmapped cells#151
Merged
mrworkman merged 3 commits intopaulyoder:masterfrom Aug 13, 2018
Merged
Conversation
Collaborator
|
I will try to review this week |
Collaborator
|
Lol, so much for "this week". Looking at it now. |
mrworkman
requested changes
Aug 10, 2018
| excel.StrictMapping = StrictMappingType.Both; | ||
| ``` | ||
|
|
||
| If you are using `None` or `ClassStrict` mapping, you can retain unmapped columns by implementing the `IContainsUnmappedCells` interface. This will put all values from the unmapped columns into a dictionary on your class named `UnmappedCells`. |
Collaborator
There was a problem hiding this comment.
We should probably include an example here by showing how to implement the interface, and then "using" one of the unmapped values.
Contributor
Author
|
Thanks, @mrworkman. I've added a concrete example in the |
Collaborator
|
Awesome, thanks! There was a small merge conflict introduced by another PR, but I have resolved it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This provides a way to retain unmapped cell values when fetching a strongly typed row.