示例#1
0
 /// <summary>
 /// 得到一个对象实体
 /// </summary>
 public Model.Article GetModel(int ID)
 {
     return(dal_Article.GetModel(ID));
 }
示例#2
0
文件: Default.aspx.cs 项目: wfwe/Blog
 protected void Button1_Click(object sender, EventArgs e)
 {
     model       = dal.GetModel(1);
     Label1.Text = model.Author.ToString();
 }