ISqlConnection.Query<T>(String, Object[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Query a Data structure statement from our storage
public:
generic <typename T>
where T : gcnew() System::Collections::Generic::IList<T> ^ Query(System::String ^ query, ... cli::array <System::Object ^> ^ args);
public System.Collections.Generic.IList<T> Query<T> (string query, params object[] args) where T : new();
abstract member Query : string * obj[] -> System.Collections.Generic.IList<'T (requires 'T : (new : unit -> 'T))> (requires 'T : (new : unit -> 'T))
Public Function Query(Of T As New) (query As String, ParamArray args As Object()) As IList(Of T)
Type Parameters
- T
Type for mapping our expected result
Parameters
- query
- String
The Data structure statement
- args
- Object[]
List of substitution parameters
Returns
IList<T>
List with results