C# 클래스 IsThereAnyNews.DataAccess.Implementation.UserRepository

상속: IUserRepository
파일 보기 프로젝트 열기: jstadnicki/isthereanynews 1 사용 예제들

공개 메소드들

메소드 설명
ChangeDisplayName ( long currentUserId, string displayname ) : void
ChangeEmail ( long currentUserId, string email ) : void
CreateNewUser ( string name, string email ) : long
GetAllUsers ( ) : List
GetUserLastReadTime ( long userId ) : System.DateTime
GetUserPrivateDetails ( long currentUserId ) : UserPrivateProfileDto
LoadAllUsersPublicProfileWithChannelsCount ( ) : List
LoadUserPublicProfile ( long id ) : UserPublicProfileDto
UpdateDisplayNames ( List emptyDisplay ) : void
UpdateUserLastReadTime ( long userId, System.DateTime now ) : void
UserRepository ( ItanDatabaseContext database ) : System

메소드 상세

ChangeDisplayName() 공개 메소드

public ChangeDisplayName ( long currentUserId, string displayname ) : void
currentUserId long
displayname string
리턴 void

ChangeEmail() 공개 메소드

public ChangeEmail ( long currentUserId, string email ) : void
currentUserId long
email string
리턴 void

CreateNewUser() 공개 메소드

public CreateNewUser ( string name, string email ) : long
name string
email string
리턴 long

GetAllUsers() 공개 메소드

public GetAllUsers ( ) : List
리턴 List

GetUserLastReadTime() 공개 메소드

public GetUserLastReadTime ( long userId ) : System.DateTime
userId long
리턴 System.DateTime

GetUserPrivateDetails() 공개 메소드

public GetUserPrivateDetails ( long currentUserId ) : UserPrivateProfileDto
currentUserId long
리턴 IsThereAnyNews.ProjectionModels.UserPrivateProfileDto

LoadAllUsersPublicProfileWithChannelsCount() 공개 메소드

public LoadAllUsersPublicProfileWithChannelsCount ( ) : List
리턴 List

LoadUserPublicProfile() 공개 메소드

public LoadUserPublicProfile ( long id ) : UserPublicProfileDto
id long
리턴 IsThereAnyNews.ProjectionModels.UserPublicProfileDto

UpdateDisplayNames() 공개 메소드

public UpdateDisplayNames ( List emptyDisplay ) : void
emptyDisplay List
리턴 void

UpdateUserLastReadTime() 공개 메소드

public UpdateUserLastReadTime ( long userId, System.DateTime now ) : void
userId long
now System.DateTime
리턴 void

UserRepository() 공개 메소드

public UserRepository ( ItanDatabaseContext database ) : System
database IsThereAnyNews.EntityFramework.ItanDatabaseContext
리턴 System