C# Class EventManagerPro.DBLayer.DomainModels.BudgetItemModel

Afficher le fichier Open project: sagittaros/EventManagerModel

Méthodes publiques

Méthode 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 méthode

public static create ( String name, int cost, int budgetId ) : BudgetItem
name String
cost int
budgetId int
Résultat BudgetItem

createObj() public static méthode

public static createObj ( BudgetItem e ) : BudgetItem
e BudgetItem
Résultat BudgetItem

deleteById() public static méthode

public static deleteById ( int id ) : void
id int
Résultat void

getAll() public static méthode

public static getAll ( ) : List
Résultat List

getByBudgetId() public static méthode

public static getByBudgetId ( int id ) : List
id int
Résultat List

getByID() public static méthode

public static getByID ( int id ) : BudgetItem
id int
Résultat BudgetItem

update() public static méthode

public static update ( int id, String name, int cost, int budgetId ) : BudgetItem
id int
name String
cost int
budgetId int
Résultat BudgetItem

updateObj() public static méthode

public static updateObj ( BudgetItem e ) : BudgetItem
e BudgetItem
Résultat BudgetItem