v9.6.2017.0808   重构正向工程,基于映射表查找数据库字段类型到实体类型的映射
大石头 编写于 2017-08-08 21:38:06
X
@model System.Web.Mvc.HandleErrorInfo
@{
    Layout = "_Ace_Layout.cshtml";
    ViewBag.Title = "处理你的请求时出错";

    var context = ViewBag.Context as ExceptionContext;
    var error = context.Exception.Message;
    if (NewLife.Log.XTrace.Debug)
    {
        error = context.Exception.ToString();
    }
    error = error.Replace("--->", "--->" + Environment.NewLine);
}
<div class="panel panel-default">
    <div class="panel-body">
        <strong>
            <pre class="alert alert-danger" role="alert">@error</pre>
        </strong>
    </div>
    <div class="panel-footer">
        <a href="javascript: history.go(-1);" class="btn btn-info">返回上一页</a>
    </div>
</div>