public virtual void Validate(HistoricoCotacaoState item)
        {
            string strMsg = string.Empty;

            if (String.IsNullOrEmpty(item.EXT_ID))
            {
                strMsg += "Identificador do ativo invalido." + Environment.NewLine;
            }

            //if (String.IsNullOrEmpty(item.CodEmpresa))
            //{ strMsg += "O Codigo da empresa deve ser preenchido." + Environment.NewLine; }

            if (String.IsNullOrEmpty(item.Ticker))
            {
                strMsg += "O ticker deve ser preenchido." + Environment.NewLine;
            }

            //if (String.IsNullOrEmpty(item.DenominacaoSocial))
            //{ strMsg += "A denominacao social da empresa deve ser preenchido." + Environment.NewLine; }

            if (strMsg != string.Empty)
            {
                throw new TebaldiMarketDataException(strMsg);
            }
        }
        public bool Load(HistoricoCotacaoState cotacao)
        {
            throw new NotImplementedException();

            //bool boolRet = false;
            //string strSql = "";
            //strSql = "SELECT * FROM " + empresa.Schema.ObjectName + " WHERE " + empresa.Schema.IdEmpresa + " = " + empresa.IdEmpresa;

            //IDataReader dr = DataLayer.GetDataReader(strSql, mstrConnectString);

            //while (dr.Read())
            //{
            //    if (boolRet)
            //    { throw new TebaldiBizException("Foir encontrado mais de um registro com o mesmo identificador."); }

            //    FillFromDataReader(dr, empresa);
            //    boolRet = true;
            //}

            //dr.Close();

            //return boolRet;
        }