Show / Hide Table of Contents

Class DataTableConversionExtensions

Inheritance
object
DataTableConversionExtensions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: PayrollEngine.Data
Assembly: PayrollEngine.Core.dll
Syntax
public static class DataTableConversionExtensions

Methods

ToPayrollDataTable(IEnumerable, string)

Declaration
public static DataTable ToPayrollDataTable(this IEnumerable items, string tableName = null)
Parameters
Type Name Description
IEnumerable items
string tableName
Returns
Type Description
DataTable

ToPayrollDataTable(DataTable)

Declaration
public static DataTable ToPayrollDataTable(this DataTable dataTable)
Parameters
Type Name Description
DataTable dataTable
Returns
Type Description
DataTable

ToSystemDataTable(DataTable)

Declaration
public static DataTable ToSystemDataTable(this DataTable dataTable)
Parameters
Type Name Description
DataTable dataTable
Returns
Type Description
DataTable

ToSystemDataTable(IEnumerable, string, bool, string, IList<string>)

Declaration
public static DataTable ToSystemDataTable(this IEnumerable items, string tableName = null, bool includeRows = false, string primaryKey = null, IList<string> properties = null)
Parameters
Type Name Description
IEnumerable items
string tableName
bool includeRows
string primaryKey
IList<string> properties
Returns
Type Description
DataTable
☀
☾
Back to top Generated by DocFX