Exemple #1
0
 public CompraCollection(string FOR_NOME, int ORDER)
 {
     this._typeLoad = CompraLoadType.LoadByFornecedor;
     this._FOR_NOME = FOR_NOME;
     this._ORDER    = ORDER;
     this.Carregar();
 }
Exemple #2
0
 public CompraCollection(string FOR_NOME, int ORDER, int PARAMETRO_PESQUISA)
 {
     this._typeLoad           = CompraLoadType.LoadByFornecedor;
     this._PARAMETRO_PESQUISA = PARAMETRO_PESQUISA;
     this._FOR_NOME           = FOR_NOME;
     this._ORDER = ORDER;
     this.Carregar();
 }
Exemple #3
0
 public CompraCollection(DateTime DATA_INICIAL, DateTime DATA_FINAL, int ORDER)
 {
     this._typeLoad     = CompraLoadType.LoadByData;
     this._DATA_INICIAL = DATA_INICIAL;
     this._DATA_FINAL   = DATA_FINAL;
     this._ORDER        = ORDER;
     this.Carregar();
 }
Exemple #4
0
 public CompraCollection(DateTime DATA_INICIAL, DateTime DATA_FINAL, int ORDER, int PARAMETRO_PESQUISA)
 {
     this._typeLoad           = CompraLoadType.LoadByData;
     this._PARAMETRO_PESQUISA = PARAMETRO_PESQUISA;
     this._DATA_INICIAL       = DATA_INICIAL;
     this._DATA_FINAL         = DATA_FINAL;
     this._ORDER = ORDER;
     this.Carregar();
 }
Exemple #5
0
 public CompraCollection(bool isLoad, int ORDER)
 {
     this._typeLoad = CompraLoadType.LoadAll;
     this._ORDER    = ORDER;
     if (isLoad)
     {
         this.Carregar();
     }
 }
Exemple #6
0
 public CompraCollection(bool isLoad, int ORDER, int PARAMETRO_PESQUISA)
 {
     this._PARAMETRO_PESQUISA = PARAMETRO_PESQUISA;
     this._typeLoad           = CompraLoadType.LoadAll;
     this._ORDER = ORDER;
     if (isLoad)
     {
         this.Carregar();
     }
 }
Exemple #7
0
 public CompraCollection(int CODIGO, CompraLoadType typeLoad, int ORDER)
 {
     if (typeLoad == CompraLoadType.LoadById)
     {
         this._typeLoad   = typeLoad;
         this._COM_CODIGO = CODIGO;
         this._ORDER      = ORDER;
         this.Carregar();
     }
     else if (typeLoad == CompraLoadType.LoadByNF)
     {
         this._typeLoad = typeLoad;
         this._COM_NF   = CODIGO;
         this._ORDER    = ORDER;
         this.Carregar();
     }
 }
Exemple #8
0
 public CompraCollection(int CODIGO, CompraLoadType typeLoad, int ORDER, int PARAMETRO_PESQUISA)
 {
     this._PARAMETRO_PESQUISA = PARAMETRO_PESQUISA;
     if (typeLoad == CompraLoadType.LoadById)
     {
         this._typeLoad   = typeLoad;
         this._COM_CODIGO = CODIGO;
         this._ORDER      = ORDER;
         this.Carregar();
     }
     else if (typeLoad == CompraLoadType.LoadByNF)
     {
         this._typeLoad = typeLoad;
         this._COM_NF   = CODIGO;
         this._ORDER    = ORDER;
         this.Carregar();
     }
 }