Esempio n. 1
0
        void GetCompany(ref List <string> company)
        {
            string command = "";

            if (IsOTC)
            {
                command = @"SELECT [company] FROM [OverTheCounter].[dbo].[standard_analysis] 
                      group by [company]  order by [company] ";
            }
            else
            {
                command = @"SELECT [company] FROM [StockDatabase].[dbo].[standard_analysis] 
                      group by [company]  order by [company] ";
            }

            GetDataFromDatabase gd = new GetDataFromDatabase();

            gd.GetData(command, ref company);
        }
Esempio n. 2
0
        // GET: api/UserTable
        public object Get()
        {
            GetDataFromDatabase getData = new GetDataFromDatabase();

            return(getData.ProcedureGetDataFromUserTable());
        }
Esempio n. 3
0
        // GET: api/StatsColumns
        public object Get()
        {
            GetDataFromDatabase getData = new GetDataFromDatabase();

            return(getData.ProcedureGetDataFromStatColumns());
        }
        // GET: api/ColumnName/5
        public object Get(string owner, string table_name)
        {
            GetDataFromDatabase getData = new GetDataFromDatabase();

            return(getData.ProcedureGetDataFromColumnName(owner, table_name));
        }
        // GET: api/ParametersVariable
        public object Get()
        {
            GetDataFromDatabase getData = new GetDataFromDatabase();

            return(getData.ProcedureGetDataFromParametersValue());
        }
Esempio n. 6
0
        // GET: api/ConfigurationTable
        public object Get()
        {
            GetDataFromDatabase getData = new GetDataFromDatabase();

            return(getData.ProcedureGetDataFromConfigurationTables());
        }
Esempio n. 7
0
        // GET: api/TableNames/5
        public object Get(string owner)
        {
            GetDataFromDatabase getData = new GetDataFromDatabase();

            return(getData.ProcedureGetDataFromTableName(owner));
        }