C# Class CQRS.Talk.Refactoring1.Queries.Step1.Repository.PeopleRepository

Inheritance: IPeopleRepository
Mostra file Open project: trailmax/CQRS.Talk

Public Methods

Method Description
Find ( System.Guid personId ) : Person
FindPersonByEmail ( String email, bool isCurrentlyEmployed = null ) : Person
GetStaffEligibleForReview ( ) : IEnumerable
Insert ( Person newPerson ) : void
PeopleRepository ( PetaPoco.Database database ) : System
Update ( Person person ) : void

Method Details

Find() public method

public Find ( System.Guid personId ) : Person
personId System.Guid
return CQRS.Talk.Dependencies.Person

FindPersonByEmail() public method

public FindPersonByEmail ( String email, bool isCurrentlyEmployed = null ) : Person
email String
isCurrentlyEmployed bool
return CQRS.Talk.Dependencies.Person

GetStaffEligibleForReview() public method

public GetStaffEligibleForReview ( ) : IEnumerable
return IEnumerable

Insert() public method

public Insert ( Person newPerson ) : void
newPerson CQRS.Talk.Dependencies.Person
return void

PeopleRepository() public method

public PeopleRepository ( PetaPoco.Database database ) : System
database PetaPoco.Database
return System

Update() public method

public Update ( Person person ) : void
person CQRS.Talk.Dependencies.Person
return void