C# Class EducationsCourses.Repository.PersonRepository

Inheritance: IPersonRepository
Afficher le fichier Open project: rabbal/WPFEducation_Management Class Usage Examples

Méthodes publiques

Méthode Description
Delete ( Person person ) : void
Insert ( Model person ) : void
SearchPersonByName ( string name ) : List
SelectAllStates ( ) : List
SelectByID ( System.Guid id ) : Person
SelectCitiesByState ( int stateId ) : List
SelectPersons ( ) : List
Update ( System.Guid oldPersonID, Person newPerson ) : void

Method Details

Delete() public méthode

public Delete ( Person person ) : void
person EducationsCourses.Model.Person
Résultat void

Insert() public méthode

public Insert ( Model person ) : void
person Model
Résultat void

SearchPersonByName() public méthode

public SearchPersonByName ( string name ) : List
name string
Résultat List

SelectAllStates() public méthode

public SelectAllStates ( ) : List
Résultat List

SelectByID() public méthode

public SelectByID ( System.Guid id ) : Person
id System.Guid
Résultat EducationsCourses.Model.Person

SelectCitiesByState() public méthode

public SelectCitiesByState ( int stateId ) : List
stateId int
Résultat List

SelectPersons() public méthode

public SelectPersons ( ) : List
Résultat List

Update() public méthode

public Update ( System.Guid oldPersonID, Person newPerson ) : void
oldPersonID System.Guid
newPerson EducationsCourses.Model.Person
Résultat void