Show / Hide Table of Contents

Method IfNull

| Improve this Doc View Source

IfNull<T>(T, T)

Returns a specified value if the specified column value is null.

Declaration
public static T IfNull<T>(this T x, T valueForNull)

    where T : Column, new()
Parameters
Type Name Description
T x

The column.

T valueForNull

The specified value.

Returns
Type Description
T

The column contains the result value.

Type Parameters
Name Description
T

Type of the column.

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest