C# 클래스 Mhotivo.App_Data.Repositories.AcademicYearRepository

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

공개 메소드들

메소드 설명
AcademicYearRepository ( MhotivoContext ctx ) : System
Create ( AcademicYear itemToCreate ) : AcademicYear
Delete ( long id ) : AcademicYear
Detach ( AcademicYear academicYear ) : void
Dispose ( ) : void
Filter ( bool>.Expression expression ) : IQueryable
First ( AcademicYear>.Expression query ) : AcademicYear
GetById ( long id ) : AcademicYear
Query ( AcademicYear>.Expression expression ) : IQueryable
SaveChanges ( ) : void
Update ( AcademicYear itemToUpdate ) : AcademicYear
Update ( AcademicYear itemToUpdate, bool updateCourse = true, bool updateGrade = true, bool updateTeacher = true ) : AcademicYear

메소드 상세

AcademicYearRepository() 공개 메소드

public AcademicYearRepository ( MhotivoContext ctx ) : System
ctx MhotivoContext
리턴 System

Create() 공개 메소드

public Create ( AcademicYear itemToCreate ) : AcademicYear
itemToCreate Mhotivo.Models.AcademicYear
리턴 Mhotivo.Models.AcademicYear

Delete() 공개 메소드

public Delete ( long id ) : AcademicYear
id long
리턴 Mhotivo.Models.AcademicYear

Detach() 공개 메소드

public Detach ( AcademicYear academicYear ) : void
academicYear Mhotivo.Models.AcademicYear
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Filter() 공개 메소드

public Filter ( bool>.Expression expression ) : IQueryable
expression bool>.Expression
리턴 IQueryable

First() 공개 메소드

public First ( AcademicYear>.Expression query ) : AcademicYear
query AcademicYear>.Expression
리턴 Mhotivo.Models.AcademicYear

GetById() 공개 메소드

public GetById ( long id ) : AcademicYear
id long
리턴 Mhotivo.Models.AcademicYear

Query() 공개 메소드

public Query ( AcademicYear>.Expression expression ) : IQueryable
expression AcademicYear>.Expression
리턴 IQueryable

SaveChanges() 공개 메소드

public SaveChanges ( ) : void
리턴 void

Update() 공개 메소드

public Update ( AcademicYear itemToUpdate ) : AcademicYear
itemToUpdate Mhotivo.Models.AcademicYear
리턴 Mhotivo.Models.AcademicYear

Update() 공개 메소드

public Update ( AcademicYear itemToUpdate, bool updateCourse = true, bool updateGrade = true, bool updateTeacher = true ) : AcademicYear
itemToUpdate Mhotivo.Models.AcademicYear
updateCourse bool
updateGrade bool
updateTeacher bool
리턴 Mhotivo.Models.AcademicYear