Example #1
0
        /*********************************************************
        * GET STATEMENTS
        *********************************************************/

        /// <summary>
        /// Returns the account Id for the database passed through
        /// </summary>
        /// <returns>Returns an integer value for the id column of the account.</returns>
        public int GetAccountIdForDatabase()
        {
            int output = 0;

            Database db = new Database();

            output = db.GetAccountFromDatabase(this.databaseName);

            return(output);
        }
Example #2
0
        /*********************************************************
         * GET STATEMENTS
         *********************************************************/
        /// <summary>
        /// Returns the account Id for the database passed through
        /// </summary>
        /// <returns>Returns an integer value for the id column of the account.</returns>
        public int GetAccountIdForDatabase()
        {
            int output = 0;

            Database db = new Database();
            output = db.GetAccountFromDatabase(this.databaseName);

            return output;
        }