예제 #1
0
        /// <summary>
        /// Allowed URL List Class
        /// </summary>
        /// <param name="context">The context</param>
        public void LoadAllowedURLLists(IAppContext context)
        {
            string getAllowedURLListData = "getallallowedurls";
            using (IDnaDataReader dataReader = context.CreateDnaDataReader(getAllowedURLListData))
            {
                dataReader.Execute();

                if (dataReader.HasRows)
                {
                    ProcessAllowedURLListData(dataReader, context);
                }
            }

        }