C# Class Mhotivo.App_Data.Repositories.ClassActivityRepository

Inheritance: IClassActivityRepository
Datei anzeigen Open project: armejiaf/Mhotivo

Public Methods

Method Description
ActiveClassActivityDisplaytext ( bool active ) : String
ClassActivityRepository ( MhotivoContext ctx ) : System
Create ( ClassActivity itemToCreate ) : ClassActivity
Delete ( ClassActivity itemToDelete ) : ClassActivity
Dispose ( ) : void
Filter ( bool>.Expression expression ) : IQueryable
First ( ClassActivity>.Expression query ) : ClassActivity
GetById ( long id ) : ClassActivity
Query ( ClassActivity>.Expression expression ) : IQueryable
SaveChanges ( ) : void
Update ( ClassActivity itemToUpdate ) : ClassActivity

Method Details

ActiveClassActivityDisplaytext() public method

public ActiveClassActivityDisplaytext ( bool active ) : String
active bool
return String

ClassActivityRepository() public method

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

Create() public method

public Create ( ClassActivity itemToCreate ) : ClassActivity
itemToCreate Mhotivo.Models.ClassActivity
return Mhotivo.Models.ClassActivity

Delete() public method

public Delete ( ClassActivity itemToDelete ) : ClassActivity
itemToDelete Mhotivo.Models.ClassActivity
return Mhotivo.Models.ClassActivity

Dispose() public method

public Dispose ( ) : void
return void

Filter() public method

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

First() public method

public First ( ClassActivity>.Expression query ) : ClassActivity
query ClassActivity>.Expression
return Mhotivo.Models.ClassActivity

GetById() public method

public GetById ( long id ) : ClassActivity
id long
return Mhotivo.Models.ClassActivity

Query() public method

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

SaveChanges() public method

public SaveChanges ( ) : void
return void

Update() public method

public Update ( ClassActivity itemToUpdate ) : ClassActivity
itemToUpdate Mhotivo.Models.ClassActivity
return Mhotivo.Models.ClassActivity