C# 클래스 Mhotivo.Implement.Repositories.GradeRepository

상속: IGradeRepository
파일 보기 프로젝트 열기: armejiaf/Mhotivo

공개 메소드들

메소드 설명
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