C# Class Mhotivo.Implement.Repositories.EducationLevelRepository

Inheritance: IEducationLevelRepository
Datei anzeigen Open project: armejiaf/Mhotivo

Public Methods

Method Description
Create ( Mhotivo.Data.Entities.EducationLevel itemToCreate ) : Mhotivo.Data.Entities.EducationLevel
Delete ( long id ) : Mhotivo.Data.Entities.EducationLevel
Dispose ( ) : void
EducationLevelRepository ( MhotivoContext ctx ) : System
Filter ( bool>.Expression expression ) : IQueryable
First ( EducationLevel>.Expression query ) : Mhotivo.Data.Entities.EducationLevel
GetAllAreas ( ) : System.Collections.Generic.IEnumerable
GetById ( long id ) : Mhotivo.Data.Entities.EducationLevel
Query ( EducationLevel>.Expression expression ) : IQueryable
SaveChanges ( ) : void
Update ( Mhotivo.Data.Entities.EducationLevel itemToUpdate ) : Mhotivo.Data.Entities.EducationLevel
UpdateAreaFromAreaEditModel ( Mhotivo.Data.Entities.EducationLevel areaEditModel, Mhotivo.Data.Entities.EducationLevel area ) : Mhotivo.Data.Entities.EducationLevel

Method Details

Create() public method

public Create ( Mhotivo.Data.Entities.EducationLevel itemToCreate ) : Mhotivo.Data.Entities.EducationLevel
itemToCreate Mhotivo.Data.Entities.EducationLevel
return Mhotivo.Data.Entities.EducationLevel

Delete() public method

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

Dispose() public method

public Dispose ( ) : void
return void

EducationLevelRepository() public method

public EducationLevelRepository ( 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 ( EducationLevel>.Expression query ) : Mhotivo.Data.Entities.EducationLevel
query EducationLevel>.Expression
return Mhotivo.Data.Entities.EducationLevel

GetAllAreas() public method

public GetAllAreas ( ) : System.Collections.Generic.IEnumerable
return System.Collections.Generic.IEnumerable

GetById() public method

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

Query() public method

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

SaveChanges() public method

public SaveChanges ( ) : void
return void

Update() public method

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

UpdateAreaFromAreaEditModel() public method

public UpdateAreaFromAreaEditModel ( Mhotivo.Data.Entities.EducationLevel areaEditModel, Mhotivo.Data.Entities.EducationLevel area ) : Mhotivo.Data.Entities.EducationLevel
areaEditModel Mhotivo.Data.Entities.EducationLevel
area Mhotivo.Data.Entities.EducationLevel
return Mhotivo.Data.Entities.EducationLevel