Created
January 16, 2018 03:56
-
-
Save tawman/b02c543fad69ddfb48772a01457d51cb to your computer and use it in GitHub Desktop.
PetaPoco Multi Fetch call
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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