Format:
Recent snippets matching tags of pagination
public static class MapExtensions { public static IMappingExpression<IPagination<TSource>, IPagination<TDestination>> ConstructPagination<TSource, TDestination>(this IMappingExpression<IPagination<TSource>, IPagination<TDestination>> map) where TSource : class where TDestination : class { return map.ConstructUsing(src => new CustomPagination<TDestination>(src.ToList().Select(p => AutoMapper.Mapper.Map<TSource, TDestination>(p)), src.PageNumber, src.PageSize,
532 Views
no comments
using System; using System.Collections.Generic; using System.Linq; using System.Text; using NHibernate; namespace Lucilla.Framework.Core.Data { public static class QueryExtensions {
370 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
