Skip to content

Class Library to Convert DataReader to PSObject (Dynamically)

Notifications You must be signed in to change notification settings

mithrandyr/DataReaderToPSObject

Repository files navigation

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.

About

Class Library to Convert DataReader to PSObject (Dynamically)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages