C# Class Mhotivo.Implement.Repositories.HomeworkRepository

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

Méthodes publiques

Méthode Description
Create ( Mhotivo.Data.Entities.Homework itemToCreate ) : Mhotivo.Data.Entities.Homework
Delete ( long id ) : Mhotivo.Data.Entities.Homework
Filter ( bool>.Expression expression ) : IQueryable
First ( Homework>.Expression query ) : Mhotivo.Data.Entities.Homework
GetAllHomeworks ( ) : IEnumerable
GetById ( long id ) : Mhotivo.Data.Entities.Homework
HomeworkRepository ( MhotivoContext ctx ) : System
Query ( Homework>.Expression expression ) : IQueryable
Update ( Mhotivo.Data.Entities.Homework itemToUpdate ) : Mhotivo.Data.Entities.Homework
UpdateHomeworkFromHomeworkEditModel ( Mhotivo.Data.Entities.Homework displayHomeworkModel, Mhotivo.Data.Entities.Homework homework ) : Mhotivo.Data.Entities.Homework

Method Details

Create() public méthode

public Create ( Mhotivo.Data.Entities.Homework itemToCreate ) : Mhotivo.Data.Entities.Homework
itemToCreate Mhotivo.Data.Entities.Homework
Résultat Mhotivo.Data.Entities.Homework

Delete() public méthode

public Delete ( long id ) : Mhotivo.Data.Entities.Homework
id long
Résultat Mhotivo.Data.Entities.Homework

Filter() public méthode

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

First() public méthode

public First ( Homework>.Expression query ) : Mhotivo.Data.Entities.Homework
query Homework>.Expression
Résultat Mhotivo.Data.Entities.Homework

GetAllHomeworks() public méthode

public GetAllHomeworks ( ) : IEnumerable
Résultat IEnumerable

GetById() public méthode

public GetById ( long id ) : Mhotivo.Data.Entities.Homework
id long
Résultat Mhotivo.Data.Entities.Homework

HomeworkRepository() public méthode

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

Query() public méthode

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

Update() public méthode

public Update ( Mhotivo.Data.Entities.Homework itemToUpdate ) : Mhotivo.Data.Entities.Homework
itemToUpdate Mhotivo.Data.Entities.Homework
Résultat Mhotivo.Data.Entities.Homework

UpdateHomeworkFromHomeworkEditModel() public méthode

public UpdateHomeworkFromHomeworkEditModel ( Mhotivo.Data.Entities.Homework displayHomeworkModel, Mhotivo.Data.Entities.Homework homework ) : Mhotivo.Data.Entities.Homework
displayHomeworkModel Mhotivo.Data.Entities.Homework
homework Mhotivo.Data.Entities.Homework
Résultat Mhotivo.Data.Entities.Homework