Walter.DataTools.MsSql
GetTypedList<T1,T2>(String,SqlParameter[]) Method
Walter.DataTools.MsSql Assembly > Walter.DataTools.MsSql Namespace > IDatabaseTools Interface > GetTypedList Method : GetTypedList<T1,T2>(String,SqlParameter[]) Method
The type to return
The type to parse
the name of the stored procedure
the parameters to use
Get a list of typed classes from json for a type that implements Parse where T1 can be created using T2 as constructor parameter
Syntax
List<T1> GetTypedList<T1,T2>( 
   string procedureName,
   params SqlParameter[] sqlParameter
)
where T2: new(), IParse<T1,T2>

Parameters

procedureName
the name of the stored procedure
sqlParameter
the parameters to use

Type Parameters

T1
The type to return
T2
The type to parse

Return Value

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

Reference

IDatabaseTools Interface
IDatabaseTools Members
Overload List