Skip to content

Conversation

@michelebastione
Copy link
Contributor

Added missing configuration parameter in a call to MiniExcel.SaveAs in method MiniExcel.Insert, which caused the configuration not to be used when creating a new file and inserting rows from an IDataReader.

Also simplified the check
if (!(value is IEnumerable) && !(value is IDataReader) && !(value is IDictionary<string, object>) && !(value is IDictionary))
to
if (!(value is IEnumerable) && !(value is IDataReader))
as they're logically equivalent

@michelebastione michelebastione linked an issue Mar 13, 2025 that may be closed by this pull request
4 tasks
@michelebastione michelebastione merged commit e445110 into mini-software:master Mar 13, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

configuration is not used when writing using IDataReader

1 participant