C# Class Nvelope.DataTableExtensions

Afficher le fichier Open project: TrinityWestern/Nvelope

Méthodes publiques

Méthode Description
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

Method Details

Columnnames() public static méthode

public static Columnnames ( this dt ) : HashSet
dt this
Résultat HashSet

Columns() public static méthode

public static Columns ( this dt ) : IEnumerable
dt this
Résultat IEnumerable

Print() public static méthode

public static Print ( this dr ) : string
dr this
Résultat string

Rows() public static méthode

public static Rows ( this dt ) : IEnumerable
dt this
Résultat IEnumerable

Table() public static méthode

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
Résultat System.Data.DataTable

Tablenames() public static méthode

public static Tablenames ( this ds ) : HashSet
ds this
Résultat HashSet

Tables() public static méthode

public static Tables ( this ds ) : IEnumerable
ds this
Résultat IEnumerable

ToDictionaries() public static méthode

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

ToDictionary() public static méthode

public static ToDictionary ( this dr ) : object>.Dictionary
dr this
Résultat object>.Dictionary

ToDictionary() public static méthode

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

ToList() public static méthode

public static ToList ( this dc ) : IEnumerable
dc this
Résultat IEnumerable

ToList() public static méthode

public static ToList ( this dc ) : IEnumerable
dc this
Résultat IEnumerable

ToList() public static méthode

public static ToList ( this dt ) : IEnumerable
dt this
Résultat IEnumerable

Value() public static méthode

public static Value ( this dt, CellLoc loc ) : string
dt this
loc CellLoc
Résultat string