C# Класс Nvelope.DataTableExtensions

Показать файл Открыть проект

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

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