예제 #1
0
        //Fetch english names from the Database
        //Stores results into linked list that is passed by reference
        //type of name is passes as a string and is then passes to the database manager
        private void Fetch_names(string type, ref LinkedList <Candidate> list)
        {
            Database_Manager db = new Database_Manager();

            try
            {
                db.FetchAllNames(ref list, type);
            }
            catch (Exception)
            {
                throw;
            }
        }