C# Class Storage.DAO.InvoiceDAO

Mostra file Open project: aokolity/Storage

Public Methods

Method Description
DeleteInvoice ( int id ) : void
GetInvoice ( int id ) : InvoiceModel
GetInvoiceList ( string type ) : List
GetNextInvoiceNumber ( string type ) : int
SaveInvoice ( InvoiceModel invoiceModel ) : void
UpdateInvoice ( InvoiceModel invoiceModel ) : void

Method Details

DeleteInvoice() public static method

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

GetInvoice() public static method

public static GetInvoice ( int id ) : InvoiceModel
id int
return Storage.Models.InvoiceModel

GetInvoiceList() public static method

public static GetInvoiceList ( string type ) : List
type string
return List

GetNextInvoiceNumber() public static method

public static GetNextInvoiceNumber ( string type ) : int
type string
return int

SaveInvoice() public static method

public static SaveInvoice ( InvoiceModel invoiceModel ) : void
invoiceModel Storage.Models.InvoiceModel
return void

UpdateInvoice() public static method

public static UpdateInvoice ( InvoiceModel invoiceModel ) : void
invoiceModel Storage.Models.InvoiceModel
return void