Method | Description | |
---|---|---|
AcademicYearRepository ( MhotivoContext ctx ) : System | ||
Create ( Mhotivo.Data.Entities.AcademicYear itemToCreate ) : Mhotivo.Data.Entities.AcademicYear | ||
CreateDefaultPensum ( Mhotivo.Data.Entities.AcademicYear academicYear ) : void | ||
Delete ( long id ) : Mhotivo.Data.Entities.AcademicYear | ||
Detach ( Mhotivo.Data.Entities.AcademicYear academicYear ) : void | ||
Dispose ( ) : void | ||
ExistAcademicYear ( int year, long grade, string section ) : bool | ||
Filter ( bool>.Expression |
||
First ( AcademicYear>.Expression |
||
GeContext ( ) : MhotivoContext | ||
GetAllAcademicYears ( ) : IEnumerable |
||
GetByFields ( int year, long grade, string section ) : Mhotivo.Data.Entities.AcademicYear | ||
GetById ( long id ) : Mhotivo.Data.Entities.AcademicYear | ||
GetCurrentAcademicYear ( ) : Mhotivo.Data.Entities.AcademicYear | ||
GetDefaultPensum ( long grade ) : IEnumerable |
||
Query ( AcademicYear>.Expression |
||
SaveChanges ( ) : void | ||
Update ( Mhotivo.Data.Entities.AcademicYear itemToUpdate ) : Mhotivo.Data.Entities.AcademicYear | ||
Update ( Mhotivo.Data.Entities.AcademicYear itemToUpdate, bool updateCourse = true, bool updateGrade = true, bool updateTeacher = true ) : Mhotivo.Data.Entities.AcademicYear |
public AcademicYearRepository ( MhotivoContext ctx ) : System | ||
ctx | MhotivoContext | |
return | System |
public Create ( Mhotivo.Data.Entities.AcademicYear itemToCreate ) : Mhotivo.Data.Entities.AcademicYear | ||
itemToCreate | Mhotivo.Data.Entities.AcademicYear | |
return | Mhotivo.Data.Entities.AcademicYear |
public CreateDefaultPensum ( Mhotivo.Data.Entities.AcademicYear academicYear ) : void | ||
academicYear | Mhotivo.Data.Entities.AcademicYear | |
return | void |
public Delete ( long id ) : Mhotivo.Data.Entities.AcademicYear | ||
id | long | |
return | Mhotivo.Data.Entities.AcademicYear |
public Detach ( Mhotivo.Data.Entities.AcademicYear academicYear ) : void | ||
academicYear | Mhotivo.Data.Entities.AcademicYear | |
return | void |
public ExistAcademicYear ( int year, long grade, string section ) : bool | ||
year | int | |
grade | long | |
section | string | |
return | bool |
public Filter ( bool>.Expression |
||
expression | bool>.Expression | |
return | IQueryable |
public First ( AcademicYear>.Expression |
||
query | AcademicYear>.Expression | |
return | Mhotivo.Data.Entities.AcademicYear |
public GetByFields ( int year, long grade, string section ) : Mhotivo.Data.Entities.AcademicYear | ||
year | int | |
grade | long | |
section | string | |
return | Mhotivo.Data.Entities.AcademicYear |
public GetById ( long id ) : Mhotivo.Data.Entities.AcademicYear | ||
id | long | |
return | Mhotivo.Data.Entities.AcademicYear |
public GetCurrentAcademicYear ( ) : Mhotivo.Data.Entities.AcademicYear | ||
return | Mhotivo.Data.Entities.AcademicYear |
public GetDefaultPensum ( long grade ) : IEnumerable |
||
grade | long | |
return | IEnumerable |
public Query ( AcademicYear>.Expression |
||
expression | AcademicYear>.Expression | |
return | IQueryable |
public Update ( Mhotivo.Data.Entities.AcademicYear itemToUpdate ) : Mhotivo.Data.Entities.AcademicYear | ||
itemToUpdate | Mhotivo.Data.Entities.AcademicYear | |
return | Mhotivo.Data.Entities.AcademicYear |
public Update ( Mhotivo.Data.Entities.AcademicYear itemToUpdate, bool updateCourse = true, bool updateGrade = true, bool updateTeacher = true ) : Mhotivo.Data.Entities.AcademicYear | ||
itemToUpdate | Mhotivo.Data.Entities.AcademicYear | |
updateCourse | bool | |
updateGrade | bool | |
updateTeacher | bool | |
return | Mhotivo.Data.Entities.AcademicYear |