C# Класс IsThereAnyNews.DataAccess.Implementation.UserRepository

Наследование: IUserRepository
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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