C# 클래스 WaveBox.Core.Model.Repository.SessionRepository

상속: ISessionRepository
파일 보기 프로젝트 열기: einsteinx2/WaveBox

Private Properties

프로퍼티 타입 설명
ReloadSessions void

공개 메소드들

메소드 설명
AllSessions ( ) : IList
CountSessions ( ) : int
CreateSession ( int userId, string clientName ) : Session
DeleteSessionForRowId ( int rowId ) : bool
DeleteSessionsForUserId ( int userId ) : bool
SessionForRowId ( int rowId ) : Session
SessionForSessionId ( string sessionId ) : Session
SessionRepository ( IDatabase database ) : System
UpdateSession ( Session session ) : bool
UpdateSessionCache ( Session session ) : bool
UserIdForSessionid ( string sessionId ) : int?

비공개 메소드들

메소드 설명
ReloadSessions ( ) : void

메소드 상세

AllSessions() 공개 메소드

public AllSessions ( ) : IList
리턴 IList

CountSessions() 공개 메소드

public CountSessions ( ) : int
리턴 int

CreateSession() 공개 메소드

public CreateSession ( int userId, string clientName ) : Session
userId int
clientName string
리턴 Session

DeleteSessionForRowId() 공개 메소드

public DeleteSessionForRowId ( int rowId ) : bool
rowId int
리턴 bool

DeleteSessionsForUserId() 공개 메소드

public DeleteSessionsForUserId ( int userId ) : bool
userId int
리턴 bool

SessionForRowId() 공개 메소드

public SessionForRowId ( int rowId ) : Session
rowId int
리턴 Session

SessionForSessionId() 공개 메소드

public SessionForSessionId ( string sessionId ) : Session
sessionId string
리턴 Session

SessionRepository() 공개 메소드

public SessionRepository ( IDatabase database ) : System
database IDatabase
리턴 System

UpdateSession() 공개 메소드

public UpdateSession ( Session session ) : bool
session Session
리턴 bool

UpdateSessionCache() 공개 메소드

public UpdateSessionCache ( Session session ) : bool
session Session
리턴 bool

UserIdForSessionid() 공개 메소드

public UserIdForSessionid ( string sessionId ) : int?
sessionId string
리턴 int?