Method IfNull
| Improve this Doc View SourceIfNull<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. |