createschema.aspx
来自「利用nhibernate简单实现的一个程序」· ASPX 代码 · 共 16 行
ASPX
16 行
<%@ Page Language="C#" MasterPageFile="~/MasterPageTest.master" AutoEventWireup="true" CodeFile="CreateSchema.aspx.cs" Inherits="CreateSchema" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="m_contentBody" Runat="Server">
<br />
<ol>
<li>Create a database in SQL2005</li><li>Open "hibernate.cfg.xml" and make sure that the "connection.connection_string" value
is set properly. Make sure that the "Initial Catalog" is set to the name of
the database you created in step #1.</li>
<li>Copy "hibernate.cfg.xml" to the "bin" directory of the web site project.</li>
<li>Press create schema.</li></ol>
<br />
<asp:Button ID="m_btnCreateSchema" runat="server" OnClick="m_btnCreateSchema_Click"
Text="Create Schema" />
</asp:Content>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?