使用 CSLA DynamicRootList 创建主/从 DGV - 附录






3.40/5 (3投票s)
CslaGen代码生成的所有屏幕截图
为什么需要这个附录?
CslaGen 是一个功能强大的工具,但文档非常匮乏。我经常自问:“这个字段是做什么的?”。当生成的代码与你预期的不符时,真的没有地方可以找到答案。这个附录旨在为新手提供一个起点,一个他们可以在这里找到完整的 CslaGen 项目的地方。所有内容都在屏幕截图中。如果不在那里,它就不存在。
A-1. BrandColl
A-1.1. Criteria 部分
图 1 - BrandColl 的 Criteria 对象
图 2 - BrandColl 的 Criteria
图 3 - BrandColl 的 FilteredCriteria
图 4 - BrandColl 的 FilteredCriteria 的属性
A-1.2. 其他属性部分
图 5 - BrandColl 的其他属性
A-2. Brand
A-2.1. 子项部分
图 6 - Brand 的子集合属性
A-2.2. 值属性部分
图 7 - Brand 的值属性集合
图 8 - Brand 的 BrandID 的 ValueProperties
图 9 - Brand 的 BrandName 的 ValueProperties
图 10 - Brand 的 RowVersion 的 ValueProperties
A-2.3. Criteria 部分
图 11 - Brand 的 Criteria 对象
图 12 - Brand 的 Criteria
图 13 - Brand 的 Criteria 的 BrandID 的 CriteriaProperties
图 14 - Brand 的 Criteria 的 RowVersion 的 CriteriaProperties
图 15 - Brand 的 CriteriaNew
A-2.4. 其他属性部分
图 16 - Brand 的其他属性
A-3. ModelColl
A-3.1. Criteria 部分
图 17 - ModelColl 的 Criteria
图 18 - ModelColl 的 Criteria 的 BrandID 的 CriteriaProperties
A-3.2. 其他属性部分
图 19 - ModelColl 的其他属性
A-4. Model
A-4.1. 值属性部分
图 20 - Model 的值属性集合
图 21 - Model 的 ModelID 的 ValueProperties
图 22 - Model 的 ModelName 的 ValueProperties
图 23 - Model 的 Price 的 ValueProperties
图 24 - Model 的 RowVersion 的 ValueProperties
A-4.2. Criteria 部分
图 25 - Model 的 Criteria 对象
图 26 - Model 的 Criteria
图 27 - Model 的 Criteria 的 ModelID 的 CriteriaProperties
图 28 - Model 的 Criteria 的 RowVersion 的 CriteriaProperties
图 29 - Model 的 CriteriaNew
A-4.3. 其他属性部分
图 30 - Model 的其他属性
本文的其他部分
历史
- 文档版本 1:2009 年 3 月 12 日