C# 클래스 Einstein.PowerShell.LINQ.PSObjectFactory

Efficiently converts objects of various types into new PSObject instances by copying the fields into note properties.
파일 보기 프로젝트 열기: josheinstein/PowerShell-LINQ

공개 메소드들

메소드 설명
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