C# Class Mhotivo.Implement.Repositories.AcademicYearDetailsRepository

Inheritance: IAcademicYearDetailsRepository
Afficher le fichier Open project: armejiaf/Mhotivo

Méthodes publiques

Méthode 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 méthode

public AcademicYearDetailsRepository ( MhotivoContext ctx ) : System
ctx MhotivoContext
Résultat System

Create() public méthode

public Create ( Mhotivo.Data.Entities.AcademicYearDetail academicYearToCreate ) : Mhotivo.Data.Entities.AcademicYearDetail
academicYearToCreate Mhotivo.Data.Entities.AcademicYearDetail
Résultat Mhotivo.Data.Entities.AcademicYearDetail

Delete() public méthode

public Delete ( long id ) : Mhotivo.Data.Entities.AcademicYearDetail
id long
Résultat Mhotivo.Data.Entities.AcademicYearDetail

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Filter() public méthode

public Filter ( bool>.Expression expression ) : IQueryable
expression bool>.Expression
Résultat IQueryable

FindByCourse() public méthode

public FindByCourse ( long id, long teacherId ) : Mhotivo.Data.Entities.AcademicYearDetail
id long
teacherId long
Résultat Mhotivo.Data.Entities.AcademicYearDetail

First() public méthode

public First ( AcademicYearDetail>.Expression query ) : Mhotivo.Data.Entities.AcademicYearDetail
query AcademicYearDetail>.Expression
Résultat Mhotivo.Data.Entities.AcademicYearDetail

GetAllAcademicYear() public méthode

public GetAllAcademicYear ( long mesiterId ) : IEnumerable
mesiterId long
Résultat IEnumerable

GetAllAcademicYearDetails() public méthode

public GetAllAcademicYearDetails ( ) : IEnumerable
Résultat IEnumerable

GetAllAcademicYearsDetails() public méthode

public GetAllAcademicYearsDetails ( long academicYearId ) : IEnumerable
academicYearId long
Résultat IEnumerable

GetById() public méthode

public GetById ( long id ) : Mhotivo.Data.Entities.AcademicYearDetail
id long
Résultat Mhotivo.Data.Entities.AcademicYearDetail

Query() public méthode

public Query ( AcademicYearDetail>.Expression expression ) : IQueryable
expression AcademicYearDetail>.Expression
Résultat IQueryable

SaveChanges() public méthode

public SaveChanges ( ) : void
Résultat void

Update() public méthode

public Update ( Mhotivo.Data.Entities.AcademicYearDetail itemToUpdate ) : Mhotivo.Data.Entities.AcademicYearDetail
itemToUpdate Mhotivo.Data.Entities.AcademicYearDetail
Résultat Mhotivo.Data.Entities.AcademicYearDetail

Update() public méthode

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
Résultat Mhotivo.Data.Entities.AcademicYearDetail