Ejemplo n.º 1
0
        public void ViewEnrichedBond()
        {
            BondEnrichmentView bondEnrichmentView = new BondEnrichmentView();

            bondEnrichmentView.LoadData();

            foreach (DataColumn cols in bondEnrichmentView.BondLookupDT.Columns)
            {
                Console.WriteLine(cols.ColumnName);
            }



            var getParticularBond = bondEnrichmentView.BondLookupDT.FindByBondID(BondId);



            for (int i = 0; i < getParticularBond.ItemArray.Length; i++)
            {
                Console.WriteLine(getParticularBond.ItemArray[i]);
                BondId       = getParticularBond.BondID;
                ISIN         = getParticularBond.ISIN;
                ShortName    = getParticularBond.ShortName;
                CollateralID = getParticularBond.CollateralID.ToString();
            }
        }
Ejemplo n.º 2
0
        public void ViewEnrichedBond()
        {

            BondEnrichmentView bondEnrichmentView = new BondEnrichmentView();
            bondEnrichmentView.LoadData();

            foreach (DataColumn cols in bondEnrichmentView.BondLookupDT.Columns)
            {
                Console.WriteLine(cols.ColumnName);

            }



            var getParticularBond = bondEnrichmentView.BondLookupDT.FindByBondID(BondId);

          

            for (int i = 0; i < getParticularBond.ItemArray.Length; i++)
            {
                Console.WriteLine(getParticularBond.ItemArray[i]);
                BondId = getParticularBond.BondID;
                ISIN = getParticularBond.ISIN;
                ShortName = getParticularBond.ShortName;
                CollateralID = getParticularBond.CollateralID.ToString();
            }


        }