DataExtensions

Static members

Static memberDescription
Clone(dataRow, parentTable)
Signature: (dataRow:DataRow * parentTable:DataTable) -> 'T
Type parameters: 'T

Creates a cloned and detached copy of a DataRow instance

Dedup(tblIn, KeyColName)
Signature: (tblIn:DataTable * KeyColName:string) -> DataTable
GetBoolean(dataReader, fieldName)
Signature: (dataReader:IDataReader * fieldName:string) -> bool

This method extends the GetBoolean method of the data reader to allow calling by the field name

GetDateTime(...)
Signature: (dataReader:IDataReader * fieldName:string * defaultValue:DateTime) -> DateTime

This method extends the GetDateTime method of the data reader to allow calling by the field name

GetDecimal(...)
Signature: (dataReader:IDataReader * fieldName:string * defaultValue:decimal) -> decimal

This method extends the GetDecimal method of the data reader to allow calling by the field name

GetDouble(...)
Signature: (dataReader:IDataReader * fieldName:string * defaultValue:float) -> float

This method extends the GetDouble method of the data reader to allow calling by the field name

GetFloat(...)
Signature: (dataReader:IDataReader * fieldName:string * defaultValue:float32) -> float32

This method extends the GetFloat method of the data reader to allow calling by the field name

GetGuid(...)
Signature: (dataReader:IDataReader * fieldName:string * defaultValue:Guid) -> Guid

This method extends the GetGuid method of the data reader to allow calling by the field name

GetInt16(...)
Signature: (dataReader:IDataReader * fieldName:string * defaultValue:int16) -> int16

This method extends the GetInt16 method of the data reader to allow calling by the field name

GetInt32(...)
Signature: (dataReader:IDataReader * fieldName:string * defaultValue:int) -> int

This method extends the GetInt32 method of the data reader to allow calling by the field name

GetInt64(...)
Signature: (dataReader:IDataReader * fieldName:string * defaultValue:int64) -> int64

This method extends the GetInt64 method of the data reader to allow calling by the field name

GetString(...)
Signature: (dataReader:IDataReader * fieldName:string * defaultValue:string) -> string

This method extends the GetString method of the data reader to allow calling by the field name

SelectRows(...)
Signature: (dt:DataTable * whereExpression:string * orderByExpression:string) -> DataTable
ToCSV(table, delimiter, includeHeader)
Signature: (table:DataTable * delimiter:string * includeHeader:bool) -> unit
ToCSV(...)
Signature: (dataReader:IDataReader * includeHeaderAsFirstRow:bool * separator:string) -> List<string>
ToDataTable(varlist)
Signature: varlist:IEnumerable<'T> -> DataTable
Type parameters: 'T
ToHashTable(dr)
Signature: dr:DataRow -> Hashtable