C# Class Controller.Repositorio.VendaRepositorio

ファイルを表示 Open project: mikemajesty/Caixapadariav2 Class Usage Examples

Public Methods

Method Description
Cadastrar ( Model.Entidades.Venda venda ) : int
ExcluirUltimaVenda ( ) : int
GetMaximunDate ( ) : System.DateTime
GetMininumDate ( ) : System.DateTime
Listar ( System.Windows.Forms.DataGridView dgv ) : void
ListarMovimentacaoEntreDatas ( DateTimePicker dtpInicial, DateTimePicker dtpFinal, System.Windows.Forms.DataGridView dgv, string tipoMovimentacao ) : void
ListarMovimentacaoPorData ( DateTimePicker dtpPesquisarPorDia, System.Windows.Forms.DataGridView dgvMovimentacao, string tipoMovimentacao ) : void
ListarTodos ( System.Windows.Forms.DataGridView dgv ) : void

Private Methods

Method Description
GetQuantidade ( ) : int
InstanciarBanco ( ) : void
InstanciarTipoDePagamentoRepositorio ( ) : void

Method Details

Cadastrar() public method

public Cadastrar ( Model.Entidades.Venda venda ) : int
venda Model.Entidades.Venda
return int

ExcluirUltimaVenda() public method

public ExcluirUltimaVenda ( ) : int
return int

GetMaximunDate() public method

public GetMaximunDate ( ) : System.DateTime
return System.DateTime

GetMininumDate() public method

public GetMininumDate ( ) : System.DateTime
return System.DateTime

Listar() public method

public Listar ( System.Windows.Forms.DataGridView dgv ) : void
dgv System.Windows.Forms.DataGridView
return void

ListarMovimentacaoEntreDatas() public method

public ListarMovimentacaoEntreDatas ( DateTimePicker dtpInicial, DateTimePicker dtpFinal, System.Windows.Forms.DataGridView dgv, string tipoMovimentacao ) : void
dtpInicial System.Windows.Forms.DateTimePicker
dtpFinal System.Windows.Forms.DateTimePicker
dgv System.Windows.Forms.DataGridView
tipoMovimentacao string
return void

ListarMovimentacaoPorData() public method

public ListarMovimentacaoPorData ( DateTimePicker dtpPesquisarPorDia, System.Windows.Forms.DataGridView dgvMovimentacao, string tipoMovimentacao ) : void
dtpPesquisarPorDia System.Windows.Forms.DateTimePicker
dgvMovimentacao System.Windows.Forms.DataGridView
tipoMovimentacao string
return void

ListarTodos() public method

public ListarTodos ( System.Windows.Forms.DataGridView dgv ) : void
dgv System.Windows.Forms.DataGridView
return void