v9.7.2018.0421   支持运行时修改DAL连接字符串
大石头 authored at 2018-04-21 14:00:47
4.27 KiB
X
#pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
//     此代码由工具生成。
//     运行时版本:4.0.30319.42000
//
//     对此文件的更改可能会导致不正确的行为,并且如果
//     重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------

namespace ASP
{
    using System;
    
    #line 2 "..\..\Areas\Admin\Views\Index\Cache.cshtml"
    using System.Collections;
    
    #line default
    #line hidden
    using System.Collections.Generic;
    
    #line 1 "..\..\Areas\Admin\Views\Index\Cache.cshtml"
    using System.Diagnostics;
    
    #line default
    #line hidden
    using System.IO;
    using System.Linq;
    using System.Net;
    
    #line 3 "..\..\Areas\Admin\Views\Index\Cache.cshtml"
    using System.Reflection;
    
    #line default
    #line hidden
    
    #line 4 "..\..\Areas\Admin\Views\Index\Cache.cshtml"
    using System.Runtime.Versioning;
    
    #line default
    #line hidden
    using System.Text;
    using System.Web;
    using System.Web.Helpers;
    using System.Web.Mvc;
    using System.Web.Mvc.Ajax;
    using System.Web.Mvc.Html;
    using System.Web.Routing;
    using System.Web.Security;
    using System.Web.UI;
    using System.Web.WebPages;
    using NewLife;
    
    #line 5 "..\..\Areas\Admin\Views\Index\Cache.cshtml"
    using NewLife.Common;
    
    #line default
    #line hidden
    using NewLife.Cube;
    using NewLife.Reflection;
    using NewLife.Web;
    using XCode;
    using XCode.Membership;
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "2.0.0.0")]
    [System.Web.WebPages.PageVirtualPathAttribute("~/Areas/Admin/Views/Index/Cache.cshtml")]
    public partial class _Areas_Admin_Views_Index_Cache_cshtml : System.Web.Mvc.WebViewPage<dynamic>
    {
        public _Areas_Admin_Views_Index_Cache_cshtml()
        {
        }
        public override void Execute()
        {
            
            #line 6 "..\..\Areas\Admin\Views\Index\Cache.cshtml"
  
    Layout = NewLife.Cube.Setting.Current.Layout;

    ViewBag.Title = "Cache列表";

    var asm = Assembly.GetExecutingAssembly();
    var att = asm.GetCustomAttribute<TargetFrameworkAttribute>();
    var ver = att.FrameworkDisplayName ?? att.FrameworkName;

            
            #line default
            #line hidden
WriteLiteral("\r\n<table");

WriteLiteral(" class=\"table table-bordered table-hover table-striped table-condensed\"");

WriteLiteral(">\r\n    <tr>\r\n        <th");

WriteLiteral(" colspan=\"6\"");

WriteLiteral(">\r\n            Cache列表(");

            
            #line 18 "..\..\Areas\Admin\Views\Index\Cache.cshtml"
               Write(Cache.Count);

            
            #line default
            #line hidden
WriteLiteral(" )\r\n        </th>\r\n    </tr>\r\n    <tr>\r\n        <th>名称</th>\r\n        <th>类型</th>\r" +
"\n        <th>数值</th>\r\n    </tr>\r\n");

            
            #line 26 "..\..\Areas\Admin\Views\Index\Cache.cshtml"
    
            
            #line default
            #line hidden
            
            #line 26 "..\..\Areas\Admin\Views\Index\Cache.cshtml"
     foreach (DictionaryEntry item in Cache)
        {

            
            #line default
            #line hidden
WriteLiteral("        <tr>\r\n            <td>");

            
            #line 29 "..\..\Areas\Admin\Views\Index\Cache.cshtml"
           Write(item.Key);

            
            #line default
            #line hidden
WriteLiteral("</td>\r\n            <td>");

            
            #line 30 "..\..\Areas\Admin\Views\Index\Cache.cshtml"
           Write(item.Value.GetType().FullName);

            
            #line default
            #line hidden
WriteLiteral("</td>\r\n            <td>");

            
            #line 31 "..\..\Areas\Admin\Views\Index\Cache.cshtml"
           Write(item.Value);

            
            #line default
            #line hidden
WriteLiteral("</td>\r\n        </tr>\r\n");

            
            #line 33 "..\..\Areas\Admin\Views\Index\Cache.cshtml"
        }

            
            #line default
            #line hidden
WriteLiteral("</table>");

        }
    }
}
#pragma warning restore 1591