Executes the provided SQL statement(s) and returns a collection of objects (one for each row retrieved) of type TYPE.
Class: YetaWF.DataProvider.SQL.SQLBase
Namespace: YetaWF.DataProvider.SQL
Assembly: YetaWF.DataProvider.SQLDyn
public Task<List<TYPE>> Direct_QueryListAsync<TYPE>( string sql ); public Task<List<TYPE>> Direct_QueryListAsync<TYPE>( string sql, params object[] args );
sql
The SQL statement(s).
args
Optional arguments that are passed when executing the SQL statements.
Returns a collection of objects (one for each row retrieved) of type TYPE.
This is used by application data providers to build and execute complex queries that are not possible with the standard data providers. Use of this method limits the application data provider to SQL repositories.
See Also YetaWF.DataProvider.SQL.SQLBase ClassYetaWF.DataProvider.SQLDynYetaWF.Core
Documentation Feedback
© 2024 - Softel vdm, Inc. - YetaWF.com