public List <TEntity> SelectFromSql <TEntity>(string sql, params DBParameter[] paramArray) where TEntity : DBEntity_Basic, new() { return(Ado.SqlQuery <TEntity>(sql, paramArray.Parse())); }