Public Function LoadByColumn(Of T As {Class, New})( _ ByVal columnName As String, _ ByVal columnValue As Object _ ) As List(Of T)
Dim instance As ObjectCrud Dim columnName As String Dim columnValue As Object Dim value As List(Of T) value = instance.LoadByColumn(Of T)(columnName, columnValue)
public List<T> LoadByColumn<T>( string columnName, object columnValue ) where T: class, new()
public: List<T*>* LoadByColumn<T>( string* columnName, Object* columnValue ) where T: ref class, gcnew()
public: List<T^>^ LoadByColumngeneric<typename T> ( String^ columnName, Object^ columnValue ) where T: ref class, gcnew()
Parameters
- columnName
- Column name in the database
- columnValue
- The value of the column to search for
Type Parameters
- T
- Generic class type