C# 클래스 Nvelope.DataTableExtensions

파일 보기 프로젝트 열기: TrinityWestern/Nvelope

공개 메소드들

메소드 설명
Columnnames ( this dt ) : HashSet
Columns ( this dt ) : IEnumerable
Print ( this dr ) : string
Rows ( this dt ) : IEnumerable
Table ( this ds, string tablename ) : DataTable

Gets a table, if it exists in the dataset. If it doesn't exist, return null

Tablenames ( this ds ) : HashSet
Tables ( this ds ) : IEnumerable
ToDictionaries ( this dt, IEnumerable columnsToInclude = null ) : object>>.IEnumerable

Converts a Datatable to a list or Dictionaries

ToDictionary ( this dr ) : object>.Dictionary
ToDictionary ( this dr, IEnumerable columnsToInclude = null ) : object>.Dictionary

Converts a DataRow to a dictionary

ToList ( this dc ) : IEnumerable
ToList ( this dc ) : IEnumerable
ToList ( this dt ) : IEnumerable
Value ( this dt, CellLoc loc ) : string

메소드 상세

Columnnames() 공개 정적인 메소드

public static Columnnames ( this dt ) : HashSet
dt this
리턴 HashSet

Columns() 공개 정적인 메소드

public static Columns ( this dt ) : IEnumerable
dt this
리턴 IEnumerable

Print() 공개 정적인 메소드

public static Print ( this dr ) : string
dr this
리턴 string

Rows() 공개 정적인 메소드

public static Rows ( this dt ) : IEnumerable
dt this
리턴 IEnumerable

Table() 공개 정적인 메소드

Gets a table, if it exists in the dataset. If it doesn't exist, return null
public static Table ( this ds, string tablename ) : DataTable
ds this
tablename string
리턴 System.Data.DataTable

Tablenames() 공개 정적인 메소드

public static Tablenames ( this ds ) : HashSet
ds this
리턴 HashSet

Tables() 공개 정적인 메소드

public static Tables ( this ds ) : IEnumerable
ds this
리턴 IEnumerable

ToDictionaries() 공개 정적인 메소드

Converts a Datatable to a list or Dictionaries
public static ToDictionaries ( this dt, IEnumerable columnsToInclude = null ) : object>>.IEnumerable
dt this
columnsToInclude IEnumerable
리턴 object>>.IEnumerable

ToDictionary() 공개 정적인 메소드

public static ToDictionary ( this dr ) : object>.Dictionary
dr this
리턴 object>.Dictionary

ToDictionary() 공개 정적인 메소드

Converts a DataRow to a dictionary
public static ToDictionary ( this dr, IEnumerable columnsToInclude = null ) : object>.Dictionary
dr this
columnsToInclude IEnumerable
리턴 object>.Dictionary

ToList() 공개 정적인 메소드

public static ToList ( this dc ) : IEnumerable
dc this
리턴 IEnumerable

ToList() 공개 정적인 메소드

public static ToList ( this dc ) : IEnumerable
dc this
리턴 IEnumerable

ToList() 공개 정적인 메소드

public static ToList ( this dt ) : IEnumerable
dt this
리턴 IEnumerable

Value() 공개 정적인 메소드

public static Value ( this dt, CellLoc loc ) : string
dt this
loc CellLoc
리턴 string