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

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

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

Метод Описание
Create ( Mhotivo.Data.Entities.Grade itemToCreate ) : Mhotivo.Data.Entities.Grade
Delete ( long id ) : Mhotivo.Data.Entities.Grade
Filter ( bool>.Expression expression ) : IQueryable
GenerateGradeFromRegisterModel ( Mhotivo.Data.Entities.Grade gradeRegisterModel ) : Mhotivo.Data.Entities.Grade
GetAllGrade ( ) : IEnumerable
GetById ( long id ) : Mhotivo.Data.Entities.Grade
GetGradeEditModelById ( long id ) : Mhotivo.Data.Entities.Grade
GradeRepository ( MhotivoContext ctx ) : System
Query ( Grade>.Expression expression ) : IQueryable
Update ( Mhotivo.Data.Entities.Grade itemToUpdate ) : Mhotivo.Data.Entities.Grade
UpdateGradeFromGradeEditModel ( Mhotivo.Data.Entities.Grade gradeEditModel, Mhotivo.Data.Entities.Grade grade ) : Mhotivo.Data.Entities.Grade

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

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

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

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

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

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

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

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

public GenerateGradeFromRegisterModel ( Mhotivo.Data.Entities.Grade gradeRegisterModel ) : Mhotivo.Data.Entities.Grade
gradeRegisterModel Mhotivo.Data.Entities.Grade
Результат Mhotivo.Data.Entities.Grade

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

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

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

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

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

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

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

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

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

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

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

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

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

public UpdateGradeFromGradeEditModel ( Mhotivo.Data.Entities.Grade gradeEditModel, Mhotivo.Data.Entities.Grade grade ) : Mhotivo.Data.Entities.Grade
gradeEditModel Mhotivo.Data.Entities.Grade
grade Mhotivo.Data.Entities.Grade
Результат Mhotivo.Data.Entities.Grade