Josh Close

Results 279 comments of Josh Close

I have a dilemma. The way things work is row by row. That means you call `Read` every time you want a new row. You can then act on the...

> what is the point of the CsvConfiguration.HasHeaderRecord property? Only used for `GetRecords`.

That works fine for me when I run it in LINQPad.

Are you passing in an `IDataReader` and not a `DataTable` to `SqlBulkCopy.WriteToServer`?

Ok. In that case we have no clue what the types are. There will need to be some way to specify a mapping or definition of indexes/names to types. Do...

I'm trying to think of the best way to do this. If it doesn't use `int GetOrdinal(string name)`, it would be pretty simple to just pass in an `IDictionary` to...

`ExpandoObject` is extremely slow, which is why I'm now using a custom `FastDynamicObject` implementation instead. You can cast to `IDictionary` and use that if you need to. Generally, this is...

Here is some code I just benchmarked. ```cs int count = 1_000_000; public void Expando() { for (var i = 0; i < count; i++) { dynamic o = new...

Well, it's not a breaking change since `GetRecords` returns `IEnumerable` and not `IEnumerable`. I tried to make it as `ExpandoObject` compatible as possible by implementing `IDynamicMetaObjectProvider` and `IEnumerable`. I'll think...

@OneScripter Can you give an example of how you were using it before this change?