Show / Hide Table of Contents

Class DataRowJsonExtensions

Inheritance
object
DataRowJsonExtensions
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 DataRowJsonExtensions

Methods

GetJsonValue(DataRow, string, Type, object)

Declaration
public static object GetJsonValue(this DataRow dataRow, string column, Type type, object defaultValue = null)
Parameters
Type Name Description
DataRow dataRow
string column
Type type
object defaultValue
Returns
Type Description
object

GetJsonValue<T>(DataRow, string, object)

Declaration
public static T GetJsonValue<T>(this DataRow dataRow, string column, object defaultValue = null)
Parameters
Type Name Description
DataRow dataRow
string column
object defaultValue
Returns
Type Description
T
Type Parameters
Name Description
T

SetJsonValue(DataRow, Type, string, object)

Declaration
public static void SetJsonValue(this DataRow dataRow, Type type, string column, object value)
Parameters
Type Name Description
DataRow dataRow
Type type
string column
object value

SetJsonValue<T>(DataRow, string, T)

Declaration
public static void SetJsonValue<T>(this DataRow dataRow, string column, T value)
Parameters
Type Name Description
DataRow dataRow
string column
T value
Type Parameters
Name Description
T
☀
☾
Back to top Generated by DocFX