SHARE
TWEET

Untitled

a guest Jun 25th, 2019 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var ids = result.Result.Select(x => new { x.Id } );
  2.  
  3.  query = @"
  4.         SELECT [A], [B], [C]
  5.         FROM [MyTable]
  6.         WHERE [C] IN @Ids
  7.     ";
  8.  
  9. var resultTwo = Connection.Query<MyObject>(query, ids)?.ToList();
  10.      
  11. var ids = result.Result.Select(x => x.Id );
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top