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

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

공개 메소드들

메소드 설명
Create ( Enroll itemToCreate ) : Enroll
Delete ( long id ) : Enroll
Detach ( Enroll enroll ) : void
EnrollRepository ( MhotivoContext ctx ) : System
Filter ( bool>.Expression expression ) : IQueryable
First ( Enroll>.Expression query ) : Enroll
GetById ( long id ) : Enroll
Query ( Enroll>.Expression expression ) : IQueryable
SaveChanges ( ) : void
Update ( Enroll itemToUpdate ) : Enroll
Update ( Enroll itemToUpdate, bool academicYear, bool student ) : Enroll

메소드 상세

Create() 공개 메소드

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

Delete() 공개 메소드

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

Detach() 공개 메소드

public Detach ( Enroll enroll ) : void
enroll Mhotivo.Models.Enroll
리턴 void

EnrollRepository() 공개 메소드

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

Filter() 공개 메소드

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

First() 공개 메소드

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

GetById() 공개 메소드

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

Query() 공개 메소드

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

SaveChanges() 공개 메소드

public SaveChanges ( ) : void
리턴 void

Update() 공개 메소드

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

Update() 공개 메소드

public Update ( Enroll itemToUpdate, bool academicYear, bool student ) : Enroll
itemToUpdate Mhotivo.Models.Enroll
academicYear bool
student bool
리턴 Mhotivo.Models.Enroll