C# 클래스 EventManagerPro.DBLayer.DomainModels.BudgetItemModel

파일 보기 프로젝트 열기: sagittaros/EventManagerModel

공개 메소드들

메소드 설명
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

메소드 상세

create() 공개 정적인 메소드

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

createObj() 공개 정적인 메소드

public static createObj ( BudgetItem e ) : BudgetItem
e BudgetItem
리턴 BudgetItem

deleteById() 공개 정적인 메소드

public static deleteById ( int id ) : void
id int
리턴 void

getAll() 공개 정적인 메소드

public static getAll ( ) : List
리턴 List

getByBudgetId() 공개 정적인 메소드

public static getByBudgetId ( int id ) : List
id int
리턴 List

getByID() 공개 정적인 메소드

public static getByID ( int id ) : BudgetItem
id int
리턴 BudgetItem

update() 공개 정적인 메소드

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

updateObj() 공개 정적인 메소드

public static updateObj ( BudgetItem e ) : BudgetItem
e BudgetItem
리턴 BudgetItem