C# Класс Einstein.PowerShell.LINQ.PSObjectFactory

Efficiently converts objects of various types into new PSObject instances by copying the fields into note properties.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

FromDataRecord() публичный статический Метод

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.
Результат System.Management.Automation.PSObject

FromDataRecord() публичный статический Метод

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.
Результат System.Management.Automation.PSObject