GetValueAsOrDefault(IDataReader, int, T) Method

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

Syntax

public static T GetValueAsOrDefault(this IDataReader this, int index, T defaultValue)

Parameters

this
Type:  IDataReader
The @this to act on.
index
Type:  Int32
Zero-based index of the.
defaultValue
Type:  T
The default value.

Return Value

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