C# Class Mhotivo.Implement.Repositories.GradeRepository

Inheritance: IGradeRepository
ファイルを表示 Open project: armejiaf/Mhotivo

Public Methods

Method Description
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

Method Details

Create() public method

public Create ( Mhotivo.Data.Entities.Grade itemToCreate ) : Mhotivo.Data.Entities.Grade
itemToCreate Mhotivo.Data.Entities.Grade
return Mhotivo.Data.Entities.Grade

Delete() public method

public Delete ( long id ) : Mhotivo.Data.Entities.Grade
id long
return Mhotivo.Data.Entities.Grade

Filter() public method

public Filter ( bool>.Expression expression ) : IQueryable
expression bool>.Expression
return IQueryable

GenerateGradeFromRegisterModel() public method

public GenerateGradeFromRegisterModel ( Mhotivo.Data.Entities.Grade gradeRegisterModel ) : Mhotivo.Data.Entities.Grade
gradeRegisterModel Mhotivo.Data.Entities.Grade
return Mhotivo.Data.Entities.Grade

GetAllGrade() public method

public GetAllGrade ( ) : IEnumerable
return IEnumerable

GetById() public method

public GetById ( long id ) : Mhotivo.Data.Entities.Grade
id long
return Mhotivo.Data.Entities.Grade

GetGradeEditModelById() public method

public GetGradeEditModelById ( long id ) : Mhotivo.Data.Entities.Grade
id long
return Mhotivo.Data.Entities.Grade

GradeRepository() public method

public GradeRepository ( MhotivoContext ctx ) : System
ctx MhotivoContext
return System

Query() public method

public Query ( Grade>.Expression expression ) : IQueryable
expression Grade>.Expression
return IQueryable

Update() public method

public Update ( Mhotivo.Data.Entities.Grade itemToUpdate ) : Mhotivo.Data.Entities.Grade
itemToUpdate Mhotivo.Data.Entities.Grade
return Mhotivo.Data.Entities.Grade

UpdateGradeFromGradeEditModel() public method

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
return Mhotivo.Data.Entities.Grade