TakeFive - what an extension


public static class LinqExtensions
{
public public static IQueryable<T> TakeFive(this IQueryable<T> query)
{
return query.Take(5);
}
}

Comments

Popular posts from this blog

IIS 7.5, HTTPS Bindings and ERR_CONNECTION_RESET

Verify ILogger calls with Moq.ILogger

Table Per Hierarchy Inheritance with Column Discriminator and Associations used in Derived Entity Types