Exemplo n.º 1
0
        //public ObservableCollection<oraEntity> items;
        //private ObservableCollection<FIX_STAN789_T> oraItems;

        public OraExchanger()
        {
            try
            {
                int c = 0;
                context = new OraContext();

                c = context.FIX_STAN789_T.Count();

                if (c > 0)
                {
                    isConnectionOK = true;
                    OnReportMessage("Oracle Connection success");
                }
            }
            catch (Exception ex)
            {
                isConnectionOK = false;
                OnReportMessage("Oracle Connection fail");
                OnReportMessage(ex.ToString());
            }
        }