软件民工

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
  8 随笔 :: 15 文章 :: 32 评论 :: 0 引用

公告

2010年3月19日 #

摘要: 开始我的理解是:运行AllEntity.cst的话,只发在AllEntity.cst中给NameSpace赋一次值,在Entity.cst中就可以访问到AllEntity.cst中设置的值,因为CommonSqlCode.cs是共用的嘛. 实际的结果是:Entity.cst中是没法取到AllEntity.cst中给NameSpace设置的值,必须在AllEnity.cst调用Entity.cst的时候,显示的传给Entity.cst. 可以这样写this.CopyPropertiesTo(subTemplate)或subTemplate.SetProperty("NameSpace", this.NameSpace) 阅读全文
posted @ 2010-03-19 17:20 builderman 阅读(1089) 评论(0) 编辑