C# Class Mhotivo.App_Data.Repositories.BenefactorRepository

Inheritance: IBenefactorRepository
Afficher le fichier Open project: armejiaf/Mhotivo

Méthodes publiques

Méthode Description
BenefactorRepository ( MhotivoContext ctx ) : System
Create ( Benefactor itemToCreate ) : Benefactor
Delete ( long id ) : Benefactor
Filter ( bool>.Expression expression ) : IQueryable
First ( Benefactor>.Expression query ) : Benefactor
GenerateBenefactorFromRegisterModel ( BenefactorRegisterModel benefactorRegisterModel ) : Benefactor
GetBenefactorDisplayModelById ( long id ) : DisplayBenefactorModel
GetBenefactorEditModelById ( long id ) : BenefactorEditModel
GetById ( long id ) : Benefactor
GettAllBenefactors ( ) : IEnumerable
Query ( Benefactor>.Expression expression ) : IQueryable
SaveChanges ( ) : void
Update ( Benefactor itemToUpdate ) : Benefactor
UpdateBenefactorFromBenefactorEditModel ( BenefactorEditModel editModel, Benefactor benefactorModel ) : Benefactor

Private Methods

Méthode Description
Detach ( Benefactor benefactor ) : void

Method Details

BenefactorRepository() public méthode

public BenefactorRepository ( MhotivoContext ctx ) : System
ctx MhotivoContext
Résultat System

Create() public méthode

public Create ( Benefactor itemToCreate ) : Benefactor
itemToCreate Mhotivo.Models.Benefactor
Résultat Mhotivo.Models.Benefactor

Delete() public méthode

public Delete ( long id ) : Benefactor
id long
Résultat Mhotivo.Models.Benefactor

Filter() public méthode

public Filter ( bool>.Expression expression ) : IQueryable
expression bool>.Expression
Résultat IQueryable

First() public méthode

public First ( Benefactor>.Expression query ) : Benefactor
query Benefactor>.Expression
Résultat Mhotivo.Models.Benefactor

GenerateBenefactorFromRegisterModel() public méthode

public GenerateBenefactorFromRegisterModel ( BenefactorRegisterModel benefactorRegisterModel ) : Benefactor
benefactorRegisterModel BenefactorRegisterModel
Résultat Mhotivo.Models.Benefactor

GetBenefactorDisplayModelById() public méthode

public GetBenefactorDisplayModelById ( long id ) : DisplayBenefactorModel
id long
Résultat DisplayBenefactorModel

GetBenefactorEditModelById() public méthode

public GetBenefactorEditModelById ( long id ) : BenefactorEditModel
id long
Résultat BenefactorEditModel

GetById() public méthode

public GetById ( long id ) : Benefactor
id long
Résultat Mhotivo.Models.Benefactor

GettAllBenefactors() public méthode

public GettAllBenefactors ( ) : IEnumerable
Résultat IEnumerable

Query() public méthode

public Query ( Benefactor>.Expression expression ) : IQueryable
expression Benefactor>.Expression
Résultat IQueryable

SaveChanges() public méthode

public SaveChanges ( ) : void
Résultat void

Update() public méthode

public Update ( Benefactor itemToUpdate ) : Benefactor
itemToUpdate Mhotivo.Models.Benefactor
Résultat Mhotivo.Models.Benefactor

UpdateBenefactorFromBenefactorEditModel() public méthode

public UpdateBenefactorFromBenefactorEditModel ( BenefactorEditModel editModel, Benefactor benefactorModel ) : Benefactor
editModel BenefactorEditModel
benefactorModel Mhotivo.Models.Benefactor
Résultat Mhotivo.Models.Benefactor