C# Class Controller.Repositorio.VendaComComandaAtivaRepositorio

Datei anzeigen Open project: mikemajesty/Caixapadariav2 Class Usage Examples

Public Methods

Method Description
DeletaItensDaComandaPorCodigo ( string codigo ) : int
GetComandasEmUso ( ) : List
GetItensnaComandaPorCodigo ( string codigo, ListView ltv ) : void
GetItensnaComandaPorID ( int ID, ListView ltv ) : void
GetQuantidadeNaComandaAtiva ( Comanda comanda ) : bool

Private Methods

Method Description
AdicionarItensNoListView ( ListView ltv, IQueryable _venda ) : void
InstanciaBanco ( ) : void
InstanciarComandaRepositorio ( ) : void
InstanciarVendaComComandaAtiva ( ) : void

Method Details

DeletaItensDaComandaPorCodigo() public method

public DeletaItensDaComandaPorCodigo ( string codigo ) : int
codigo string
return int

GetComandasEmUso() public method

public GetComandasEmUso ( ) : List
return List

GetItensnaComandaPorCodigo() public method

public GetItensnaComandaPorCodigo ( string codigo, ListView ltv ) : void
codigo string
ltv System.Windows.Forms.ListView
return void

GetItensnaComandaPorID() public method

public GetItensnaComandaPorID ( int ID, ListView ltv ) : void
ID int
ltv System.Windows.Forms.ListView
return void

GetQuantidadeNaComandaAtiva() public method

public GetQuantidadeNaComandaAtiva ( Comanda comanda ) : bool
comanda Model.Entidades.Comanda
return bool