C# Class EventManagerPro.DBLayer.DomainModels.BudgetItemModel

Datei anzeigen Open project: sagittaros/EventManagerModel

Public Methods

Method Description
create ( String name, int cost, int budgetId ) : BudgetItem
createObj ( BudgetItem e ) : BudgetItem
deleteById ( int id ) : void
getAll ( ) : List
getByBudgetId ( int id ) : List
getByID ( int id ) : BudgetItem
update ( int id, String name, int cost, int budgetId ) : BudgetItem
updateObj ( BudgetItem e ) : BudgetItem

Method Details

create() public static method

public static create ( String name, int cost, int budgetId ) : BudgetItem
name String
cost int
budgetId int
return BudgetItem

createObj() public static method

public static createObj ( BudgetItem e ) : BudgetItem
e BudgetItem
return BudgetItem

deleteById() public static method

public static deleteById ( int id ) : void
id int
return void

getAll() public static method

public static getAll ( ) : List
return List

getByBudgetId() public static method

public static getByBudgetId ( int id ) : List
id int
return List

getByID() public static method

public static getByID ( int id ) : BudgetItem
id int
return BudgetItem

update() public static method

public static update ( int id, String name, int cost, int budgetId ) : BudgetItem
id int
name String
cost int
budgetId int
return BudgetItem

updateObj() public static method

public static updateObj ( BudgetItem e ) : BudgetItem
e BudgetItem
return BudgetItem