Created
September 27, 2014 07:44
-
-
Save ahmad2x4/28e44b5e70aa57e21e86 to your computer and use it in GitHub Desktop.
Blog automapper expressions
This file contains 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 interface IRepository<TI, TO> | |
{ | |
void Add(TI obj); | |
IQueryable<TO> Find(Expression<Func<TI, bool>> predicate); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment