C# Class Mhotivo.Implement.Repositories.EnrollRepository

Inheritance: IEnrollRepository
Show file Open project: armejiaf/Mhotivo

Public Methods

Method Description
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
GeContext ( ) : MhotivoContext
GetAllsEnrolls ( ) : IEnumerable
GetById ( long id ) : Enroll
Query ( Enroll>.Expression expression ) : IQueryable
SaveChanges ( ) : void
Update ( Enroll itemToUpdate ) : Enroll
Update ( Enroll itemToUpdate, bool academicYear, bool student ) : Enroll

Method Details

Create() public method

public Create ( Enroll itemToCreate ) : Enroll
itemToCreate Enroll
return Enroll

Delete() public method

public Delete ( long id ) : Enroll
id long
return Enroll

Detach() public method

public Detach ( Enroll enroll ) : void
enroll Enroll
return void

EnrollRepository() public method

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

Filter() public method

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

First() public method

public First ( Enroll>.Expression query ) : Enroll
query Enroll>.Expression
return Enroll

GeContext() public method

public GeContext ( ) : MhotivoContext
return MhotivoContext

GetAllsEnrolls() public method

public GetAllsEnrolls ( ) : IEnumerable
return IEnumerable

GetById() public method

public GetById ( long id ) : Enroll
id long
return Enroll

Query() public method

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

SaveChanges() public method

public SaveChanges ( ) : void
return void

Update() public method

public Update ( Enroll itemToUpdate ) : Enroll
itemToUpdate Enroll
return Enroll

Update() public method

public Update ( Enroll itemToUpdate, bool academicYear, bool student ) : Enroll
itemToUpdate Enroll
academicYear bool
student bool
return Enroll