摘要: UI端显示Mode层的数据时,可选择在view创建时勾选'Create a strongly-typed view',这样工具自动生成<%%>代码,省去了些敲UI代码的工作。在'View data Class' / '中选择Model类中返回Entity实例的名称。在'View content (empty, create delete, details, empty, list)'中选择了Details,用来根据查询条件返回的某一条具体的Entity实例。点击确定后,UI生成如下代码:View Code <htmlxm 阅读全文
posted @ 2012-10-21 22:17 叶一 阅读(464) 评论(0) 推荐(0)