Was this page helpful?

At Method

    At(string key)

    public virtual T At(string key);
    Retrieve an output/return value from the finished command.

    Generic Parameters

    Parameter T

    Returned value type
    Constraints:
    none

    Parameters

    Name Type Description
    key string Name of returned parameter (provided previously using 'WithOutput()' or 'WithInOut()' or 'WithReturn()'

    Returns

    Type: T
    Converted value

    At(string key, T def)

    public virtual T At(string key, T def);
    Retrieve an output/return value from the finished command.

    Generic Parameters

    Parameter T

    Returned value type
    Constraints:
    none

    Parameters

    Name Type Description
    key string Name of returned parameter (provided previously using 'WithOutput()' or 'WithInOut()' or 'WithReturn()'
    def T Value to return if returned value is null or DbNull

    Returns

    Type: T
    Converted value
    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by