C# Class Mhotivo.Implement.Repositories.AcademicYearDetailsRepository

Inheritance: IAcademicYearDetailsRepository
Mostrar archivo Open project: armejiaf/Mhotivo

Public Methods

Method Description
AcademicYearDetailsRepository ( MhotivoContext ctx ) : System
Create ( Mhotivo.Data.Entities.AcademicYearDetail academicYearToCreate ) : Mhotivo.Data.Entities.AcademicYearDetail
Delete ( long id ) : Mhotivo.Data.Entities.AcademicYearDetail
Dispose ( ) : void
Filter ( bool>.Expression expression ) : IQueryable
FindByCourse ( long id, long teacherId ) : Mhotivo.Data.Entities.AcademicYearDetail
First ( AcademicYearDetail>.Expression query ) : Mhotivo.Data.Entities.AcademicYearDetail
GetAllAcademicYear ( long mesiterId ) : IEnumerable
GetAllAcademicYearDetails ( ) : IEnumerable
GetAllAcademicYearsDetails ( long academicYearId ) : IEnumerable
GetById ( long id ) : Mhotivo.Data.Entities.AcademicYearDetail
Query ( AcademicYearDetail>.Expression expression ) : IQueryable
SaveChanges ( ) : void
Update ( Mhotivo.Data.Entities.AcademicYearDetail itemToUpdate ) : Mhotivo.Data.Entities.AcademicYearDetail
Update ( Mhotivo.Data.Entities.AcademicYearDetail itemToUpdate, bool updateAcademicYear = true, bool updateCourse = true, bool updateTeacher = true ) : Mhotivo.Data.Entities.AcademicYearDetail

Method Details

AcademicYearDetailsRepository() public method

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

Create() public method

public Create ( Mhotivo.Data.Entities.AcademicYearDetail academicYearToCreate ) : Mhotivo.Data.Entities.AcademicYearDetail
academicYearToCreate Mhotivo.Data.Entities.AcademicYearDetail
return Mhotivo.Data.Entities.AcademicYearDetail

Delete() public method

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

Dispose() public method

public Dispose ( ) : void
return void

Filter() public method

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

FindByCourse() public method

public FindByCourse ( long id, long teacherId ) : Mhotivo.Data.Entities.AcademicYearDetail
id long
teacherId long
return Mhotivo.Data.Entities.AcademicYearDetail

First() public method

public First ( AcademicYearDetail>.Expression query ) : Mhotivo.Data.Entities.AcademicYearDetail
query AcademicYearDetail>.Expression
return Mhotivo.Data.Entities.AcademicYearDetail

GetAllAcademicYear() public method

public GetAllAcademicYear ( long mesiterId ) : IEnumerable
mesiterId long
return IEnumerable

GetAllAcademicYearDetails() public method

public GetAllAcademicYearDetails ( ) : IEnumerable
return IEnumerable

GetAllAcademicYearsDetails() public method

public GetAllAcademicYearsDetails ( long academicYearId ) : IEnumerable
academicYearId long
return IEnumerable

GetById() public method

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

Query() public method

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

SaveChanges() public method

public SaveChanges ( ) : void
return void

Update() public method

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

Update() public method

public Update ( Mhotivo.Data.Entities.AcademicYearDetail itemToUpdate, bool updateAcademicYear = true, bool updateCourse = true, bool updateTeacher = true ) : Mhotivo.Data.Entities.AcademicYearDetail
itemToUpdate Mhotivo.Data.Entities.AcademicYearDetail
updateAcademicYear bool
updateCourse bool
updateTeacher bool
return Mhotivo.Data.Entities.AcademicYearDetail