C# Class Einstein.PowerShell.LINQ.PSObjectFactory

Efficiently converts objects of various types into new PSObject instances by copying the fields into note properties.
Afficher le fichier Open project: josheinstein/PowerShell-LINQ

Méthodes publiques

Méthode Description
FromDataRecord ( IDataRecord record ) : System.Management.Automation.PSObject

Creates a PSObject from the specified IDataRecord implementation.

FromDataRecord ( IDataRecord record, bool trimSpaces ) : System.Management.Automation.PSObject

Creates a PSObject from the specified IDataRecord implementation.

Method Details

FromDataRecord() public static méthode

Creates a PSObject from the specified IDataRecord implementation.
public static FromDataRecord ( IDataRecord record ) : System.Management.Automation.PSObject
record IDataRecord The IDataRecord implementation such as the current row in a SqlDataReader.
Résultat System.Management.Automation.PSObject

FromDataRecord() public static méthode

Creates a PSObject from the specified IDataRecord implementation.
public static FromDataRecord ( IDataRecord record, bool trimSpaces ) : System.Management.Automation.PSObject
record IDataRecord The IDataRecord implementation such as the current row in a SqlDataReader.
trimSpaces bool True to remove leading/trailing spaces from string columns. The default is true.
Résultat System.Management.Automation.PSObject