C# Класс Mhotivo.Implement.Repositories.HomeworkRepository

Наследование: IHomeworkRepository
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

Create() публичный Метод

public Create ( Mhotivo.Data.Entities.Homework itemToCreate ) : Mhotivo.Data.Entities.Homework
itemToCreate Mhotivo.Data.Entities.Homework
Результат Mhotivo.Data.Entities.Homework

Delete() публичный Метод

public Delete ( long id ) : Mhotivo.Data.Entities.Homework
id long
Результат Mhotivo.Data.Entities.Homework

Filter() публичный Метод

public Filter ( bool>.Expression expression ) : IQueryable
expression bool>.Expression
Результат IQueryable

First() публичный Метод

public First ( Homework>.Expression query ) : Mhotivo.Data.Entities.Homework
query Homework>.Expression
Результат Mhotivo.Data.Entities.Homework

GetAllHomeworks() публичный Метод

public GetAllHomeworks ( ) : IEnumerable
Результат IEnumerable

GetById() публичный Метод

public GetById ( long id ) : Mhotivo.Data.Entities.Homework
id long
Результат Mhotivo.Data.Entities.Homework

HomeworkRepository() публичный Метод

public HomeworkRepository ( MhotivoContext ctx ) : System
ctx MhotivoContext
Результат System

Query() публичный Метод

public Query ( Homework>.Expression expression ) : IQueryable
expression Homework>.Expression
Результат IQueryable

Update() публичный Метод

public Update ( Mhotivo.Data.Entities.Homework itemToUpdate ) : Mhotivo.Data.Entities.Homework
itemToUpdate Mhotivo.Data.Entities.Homework
Результат Mhotivo.Data.Entities.Homework

UpdateHomeworkFromHomeworkEditModel() публичный Метод

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
Результат Mhotivo.Data.Entities.Homework