GetValueToOrDefault(IDataReader, string, T) Method

An IDataReader extension method that gets value to or default.
Namespace: Z.Data.Extensions
Assembly: Z.ExtensionMethods.WithNamespace.dll

Syntax

public static T GetValueToOrDefault(this IDataReader this, string columnName, T defaultValue)

Parameters

this
Type:  IDataReader
The @this to act on.
columnName
Type:  String
Name of the column.
defaultValue
Type:  T
The default value.

Return Value

Type:  T
Powered by ZZZ Projects .NET Documentation Generator 0.0.2 (Alpha)