C# Class VeyorProj.WebApp.Data.DbRepo

Inheritance: IDbRepo
Datei anzeigen Open project: knowit/VeyorProj

Public Methods

Method Description
AddItem ( item input ) : void
DeleteItem ( int rowid ) : void
GetItem ( int rowid ) : item
GetItems ( ) : List
UpdateItem ( item input ) : void

Private Methods

Method Description
OpenConnection ( ) : IDbConnection

Method Details

AddItem() public method

public AddItem ( item input ) : void
input VeyorProj.WebApp.Models.Entity.item
return void

DeleteItem() public method

public DeleteItem ( int rowid ) : void
rowid int
return void

GetItem() public method

public GetItem ( int rowid ) : item
rowid int
return VeyorProj.WebApp.Models.Entity.item

GetItems() public method

public GetItems ( ) : List
return List

UpdateItem() public method

public UpdateItem ( item input ) : void
input VeyorProj.WebApp.Models.Entity.item
return void