CodePaste Logo
New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Format:
Recent snippets matching tags of IRepository
C#
public interface IRepository<T, TPkType>
{
    IQueryable<T> Select();
    T SelectOnId(TPkType id);
    IQueryable<T> SelectPaged<TResult>(int pageIndex, int pageSize, Expression<Func<T, TResult>> sortExpression, bool isAscending);
    IQueryable<T> FindPaged<TResult>(int pageIndex, int pageSize, Expression<Func<T, bool>> findExpression, Expression<Func<T, TResult>> sortExpression, bool isAscending);
    IQueryable<T> Find(Expression<Func<T, bool>> expression);
    T Save(T item);
    void Delete(TPkType id);
}
by JeffSpicolie   September 24, 2009 @ 4:30pm
578 Views
no comments
 
brought to you by:
West Wind Techologies



If you find this site useful and use it frequently please consider making a donation to support this free service.
Donate