C# Class ActivityLog.Models.Storage.PersonRepository

Inheritance: IPersonRepository
Afficher le fichier Open project: marcusoftnet/ProgressiveNetDemos

Méthodes publiques

Méthode Description
Delete ( int id ) : void
GetAllPeople ( ) : IEnumerable
GetById ( int id ) : Person
InsertOrUpdate ( Person person ) : void
Save ( ) : void

Method Details

Delete() public méthode

public Delete ( int id ) : void
id int
Résultat void

GetAllPeople() public méthode

public GetAllPeople ( ) : IEnumerable
Résultat IEnumerable

GetById() public méthode

public GetById ( int id ) : Person
id int
Résultat Person

InsertOrUpdate() public méthode

public InsertOrUpdate ( Person person ) : void
person Person
Résultat void

Save() public méthode

public Save ( ) : void
Résultat void