C# 클래스 ChiakiYu.Service.Users.UserService

상속: IUserService
파일 보기 프로젝트 열기: andyshao/ChiakiYu

공개 메소드들

메소드 설명
AddUser ( User user ) : User

创建角色

GetAll ( ) : IQueryable

获取 用户信息查询数据集

GetUser ( long userId ) : User

根据主键获取实体

GetUsers ( GetUsersInput input ) : PagingList

获取用户分页数据

UpdateUser ( User user ) : User

更新用户

UserService ( long>.IRepository userRepository ) : System.Collections.Generic
ValidateUser ( string userName, string password ) : UserLoginStatus

验证用户名密码

메소드 상세

AddUser() 공개 메소드

创建角色
public AddUser ( User user ) : User
user User 用户实体
리턴 User

GetAll() 공개 메소드

获取 用户信息查询数据集
public GetAll ( ) : IQueryable
리턴 IQueryable

GetUser() 공개 메소드

根据主键获取实体
public GetUser ( long userId ) : User
userId long 用户Id
리턴 User

GetUsers() 공개 메소드

获取用户分页数据
public GetUsers ( GetUsersInput input ) : PagingList
input ChiakiYu.Service.Users.Dto.GetUsersInput
리턴 PagingList

UpdateUser() 공개 메소드

更新用户
public UpdateUser ( User user ) : User
user User 用户实体
리턴 User

UserService() 공개 메소드

public UserService ( long>.IRepository userRepository ) : System.Collections.Generic
userRepository long>.IRepository
리턴 System.Collections.Generic

ValidateUser() 공개 메소드

验证用户名密码
public ValidateUser ( string userName, string password ) : UserLoginStatus
userName string 用户名/注册邮箱/注册手机
password string 密码
리턴 UserLoginStatus