C# Class Hal.PlayAround.Repositories.PersonRepository

Inheritance: IPersonRepository
Datei anzeigen Open project: robdmoore/Hal.PlayAround

Public Methods

Method Description
Delete ( int id ) : void
Get ( int id ) : Person
GetAll ( ) : IEnumerable
Insert ( Person person ) : void
PersonRepository ( ) : System.Collections.Generic
Update ( Person person ) : void

Method Details

Delete() public method

public Delete ( int id ) : void
id int
return void

Get() public method

public Get ( int id ) : Person
id int
return Hal.PlayAround.Models.Person

GetAll() public method

public GetAll ( ) : IEnumerable
return IEnumerable

Insert() public method

public Insert ( Person person ) : void
person Hal.PlayAround.Models.Person
return void

PersonRepository() public method

public PersonRepository ( ) : System.Collections.Generic
return System.Collections.Generic

Update() public method

public Update ( Person person ) : void
person Hal.PlayAround.Models.Person
return void