Public Overloads Function Load(Of T As {Class, New})( _ ByVal sql As String, _ ByVal nameValueParameters As IEnumerable(Of Object) _ ) As List(Of T)
Dim instance As DataHelper Dim sql As String Dim nameValueParameters As IEnumerable(Of Object) Dim value As List(Of T) value = instance.Load(Of T)(sql, nameValueParameters)
public List<T> Load<T>( string sql, IEnumerable<object> nameValueParameters ) where T: class, new()
public: List<T*>* Load<T>( string* sql, IEnumerable<Object*>* nameValueParameters ) where T: ref class, gcnew()
public: List<T^>^ Loadgeneric<typename T> ( String^ sql, IEnumerable<Object^>^ nameValueParameters ) where T: ref class, gcnew()
Parameters
- sql
- The select parameterized SQL
- nameValueParameters
- The parameters for the SQL
Type Parameters
- T
Return Value
A list of dictionary records