C# 클래스 RepositoryExample.Service.AccountService

상속: IAccountService
파일 보기 프로젝트 열기: ryancole/RepositoryExample

공개 메소드들

메소드 설명
AccountService ( IWarcraftContext context ) : System.Data.Entity
GetByEmail ( string email ) : Account

Retrieve a single Account by Email

GetByEmailAndPassword ( string email, string password ) : Account

Retrieve a single Account by Email and Password

Insert ( Account account ) : Account

Insert a new Account

비공개 메소드들

메소드 설명
GetPasswordHash ( string password ) : string

메소드 상세

AccountService() 공개 메소드

public AccountService ( IWarcraftContext context ) : System.Data.Entity
context IWarcraftContext
리턴 System.Data.Entity

GetByEmail() 공개 메소드

Retrieve a single Account by Email
public GetByEmail ( string email ) : Account
email string
리턴 RepositoryExample.Entity.Account

GetByEmailAndPassword() 공개 메소드

Retrieve a single Account by Email and Password
public GetByEmailAndPassword ( string email, string password ) : Account
email string
password string
리턴 RepositoryExample.Entity.Account

Insert() 공개 메소드

Insert a new Account
public Insert ( Account account ) : Account
account RepositoryExample.Entity.Account
리턴 RepositoryExample.Entity.Account