Skip to content

Instantly share code, notes, and snippets.

@tawman
Created January 16, 2018 03:56
Show Gist options
  • Save tawman/b02c543fad69ddfb48772a01457d51cb to your computer and use it in GitHub Desktop.
Save tawman/b02c543fad69ddfb48772a01457d51cb to your computer and use it in GitHub Desktop.
PetaPoco Multi Fetch call
public List <TRet> Fetch<T1, T2, TRet>(Func <T1, T2, TRet> cb, string sql, params object [] args)
{
return Query<T1, T2, TRet>(cb, sql, args).ToList();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment