Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.DomainModel Namespace / ZeroAsNullInt Class / NullSafeGet Method
A DbDataReader instance
column names
A session implementor instance
the containing entity
In This Topic
    NullSafeGet Method (ZeroAsNullInt)
    In This Topic
    Retrieve an instance of the mapped class from a JDBC resultset. Implementors should handle possibility of null values.
    Syntax
    public object NullSafeGet( 
       DbDataReader rs,
       string[] names,
       NHibernate.Engine.ISessionImplementor session,
       object owner
    )

    Parameters

    rs
    A DbDataReader instance
    names
    column names
    session
    A session implementor instance
    owner
    the containing entity

    Return Value

    The object instance
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also