コード例 #1
0
        public List <Routes> ListOfRoutes()
        {
            List <Routes> list = SQLHelper.GetAllRoutes();

            return(list);
        }
コード例 #2
0
        public void InsertRoutes(string airportID, string airname, string aircity, string aircountry, string airIATA, string airICAO, string airlatitude, string airlongitude, string airaltitude, string airtimezone)       //potrebna izmena naziva
        {
            string sql = SQLHelper.InsertRout(airportID, Guid.NewGuid().ToString(), aircity, aircountry, airIATA, airICAO, airlatitude, airlongitude, airaltitude, airtimezone);

            SQLHelper.ExecuteCommand(sql);
        }
コード例 #3
0
        public List <Airports> GetInnerAllFrom(string from)
        {
            List <Airports> temp = SQLHelper.GetInnerListFrom(from);

            return(temp);
        }
コード例 #4
0
        public List <Airports> GetInnerAllTo(string to)
        {
            List <Airports> temp = SQLHelper.GetInnerListTo(to);

            return(temp);
        }
コード例 #5
0
        public void InsertAirs(string airportID, string airname, string aircity, string aircountry, string airIATA, string airICAO, string airlatitude, string airlongitude, string airaltitude, string airtimezone, string airdst, string airdbtimezone, string airtype, string airsource)       //potrebna dorada
        {
            string sql = SQLHelper.InsertAirs(airportID, airname, aircity, aircountry, airIATA, airICAO, airlatitude, airlongitude, airaltitude, airtimezone, airdst, airdbtimezone, airtype, airsource);

            SQLHelper.ExecuteCommand(sql);
        }