C# Class ServiceLayer.QueryExtensions.UserQueryExtensions

Mostra file Open project: rabbal/Mvc5

Public Methods

Method Description
OrderByEmail ( this users, bool isDesc = false ) : IQueryable
OrderByUserName ( this users, bool isDesc = false ) : IQueryable
SearchByEmail ( this users, string email ) : IQueryable
SearchByIp ( this users, string ip ) : IQueryable
SearchByNameForShow ( this users, string nameForShow ) : IQueryable
SearchByUserName ( this users, string userName ) : IQueryable
SkipAndTake ( this users, int pageIndex, int pageSize ) : IQueryable

Method Details

OrderByEmail() public static method

public static OrderByEmail ( this users, bool isDesc = false ) : IQueryable
users this
isDesc bool
return IQueryable

OrderByUserName() public static method

public static OrderByUserName ( this users, bool isDesc = false ) : IQueryable
users this
isDesc bool
return IQueryable

SearchByEmail() public static method

public static SearchByEmail ( this users, string email ) : IQueryable
users this
email string
return IQueryable

SearchByIp() public static method

public static SearchByIp ( this users, string ip ) : IQueryable
users this
ip string
return IQueryable

SearchByNameForShow() public static method

public static SearchByNameForShow ( this users, string nameForShow ) : IQueryable
users this
nameForShow string
return IQueryable

SearchByUserName() public static method

public static SearchByUserName ( this users, string userName ) : IQueryable
users this
userName string
return IQueryable

SkipAndTake() public static method

public static SkipAndTake ( this users, int pageIndex, int pageSize ) : IQueryable
users this
pageIndex int
pageSize int
return IQueryable