Example #1
0
 public CIDCollection(bool isLoad)
 {
     this._typeLoad = CIDLoadType.LoadAll;
     if (isLoad)
     {
         this.Load();
     }
 }
Example #2
0
 public CIDCollection(CIDLoadType typeLoad, string NOME)
 {
     if (typeLoad == CIDLoadType.LoadByCODCID)
     {
         this._typeLoad = typeLoad;
         this._CODCID   = NOME;
         this.Load();
     }
     else if (typeLoad == CIDLoadType.LoadByDESCRICAO)
     {
         this._typeLoad  = typeLoad;
         this._DESCRICAO = NOME;
         this.Load();
     }
 }