Data/CafeLib.Data/Persistence/Repository.cs
/// <summary>
/// Find entities via sql query.
/// </summary>
/// <param name="sql"></param>
/// <param name="parameters"></param>
/// <returns></returns>
Find entities via sql query.
Find entities via sql query .
public async Task<IEnumerable<T>> FindBySqlQuery(string sql, object parameters)
        {
            var result = await ExecuteQuery(sql, parameters);
            return result.Records;
        }
public async Task < IEnumerable < T > > FindBySqlQuery ( string sql , object parameters ) { var result = await ExecuteQuery ( sql , parameters ) ; return result . Records ; }
Find entities via sql query.
Find entities via sql query .
None
sql
string
None
parameters
object
None