https://github.com/mithrandyr/datareadertopsobject
Class Library to Convert DataReader to PSObject (Dynamically)
https://github.com/mithrandyr/datareadertopsobject
Last synced: 2 months ago
JSON representation
Class Library to Convert DataReader to PSObject (Dynamically)
- Host: GitHub
- URL: https://github.com/mithrandyr/datareadertopsobject
- Owner: mithrandyr
- Created: 2017-03-29T19:27:30.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-02-07T19:00:10.000Z (about 6 years ago)
- Last Synced: 2024-12-27T15:22:41.954Z (4 months ago)
- Language: C#
- Size: 14.6 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Convert DataReader to PSObject
This repo is for a class library used in the SimplySql PowerShell Module.
It enables the use of the -stream switch on Invoke-SqlQuery,
it turns the output of DataReader into PSObject with just members
mapped from the columns.Attempted to duplicate this code in native PowerShell resulted in a
performance penalty of 3.5x over not using the switch.