ExecuteScalarAsOrDefault(DbCommand, T) Method

A DbCommand extension method that executes the scalar as or default operation.
Namespace: Z.Data.Extensions
Assembly: Z.ExtensionMethods.WithNamespace.dll

Syntax

public static T ExecuteScalarAsOrDefault(this DbCommand this, T defaultValue)

Parameters

this
Type:  DbCommand
The @this to act on.
defaultValue
Type:  T
The default value.

Return Value

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