C# 클래스 RepositoryExample.Service.CharacterService

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

공개 메소드들

메소드 설명
CharacterService ( IWarcraftContext context ) : System.Collections.Generic
GetAll ( ) : IReadOnlyCollection

Retrieve all Characters

GetByName ( string name ) : Character

Retrieve a Character with the specified Name

Insert ( Character character ) : Character

Insert a new Character

메소드 상세

CharacterService() 공개 메소드

public CharacterService ( IWarcraftContext context ) : System.Collections.Generic
context IWarcraftContext
리턴 System.Collections.Generic

GetAll() 공개 메소드

Retrieve all Characters
public GetAll ( ) : IReadOnlyCollection
리턴 IReadOnlyCollection

GetByName() 공개 메소드

Retrieve a Character with the specified Name
public GetByName ( string name ) : Character
name string
리턴 RepositoryExample.Entity.Character

Insert() 공개 메소드

Insert a new Character
public Insert ( Character character ) : Character
character RepositoryExample.Entity.Character
리턴 RepositoryExample.Entity.Character