65.9K
CodeProject 正在变化。 阅读更多。
Home

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

starIconstarIconstarIcon
emptyStarIcon
starIcon
emptyStarIcon

3.40/5 (3投票s)

2009 年 3 月 12 日

CPOL

2分钟阅读

viewsIcon

18676

CslaGen代码生成的所有屏幕截图

为什么需要这个附录?

CslaGen 是一个功能强大的工具,但文档非常匮乏。我经常自问:“这个字段是做什么的?”。当生成的代码与你预期的不符时,真的没有地方可以找到答案。这个附录旨在为新手提供一个起点,一个他们可以在这里找到完整的 CslaGen 项目的地方。所有内容都在屏幕截图中。如果不在那里,它就不存在。

A-1. BrandColl

A-1.1. Criteria 部分

Fig. 1 - Criteria Objects for BrandColl

图 1 - BrandColl 的 Criteria 对象

Fig. 2 - Criteria for BrandColl

图 2 - BrandColl 的 Criteria

Fig. 3 - FilteredCriteria for BrandColl

图 3 - BrandColl 的 FilteredCriteria

Fig. 4 - Properties of FilteredCriteria for BrandColl

图 4 - BrandColl 的 FilteredCriteria 的属性

A-1.2. 其他属性部分

Fig. 5 - Other properties for BrandColl

图 5 - BrandColl 的其他属性

A-2. Brand

A-2.1. 子项部分

Fig. 6 - Child Collection Properties for Brand

图 6 - Brand 的子集合属性

A-2.2. 值属性部分

Fig. 7 - Value Properties collection for Brand

图 7 - Brand 的值属性集合

Fig. 8 - ValueProperties for BrandID (of Brand)

图 8 - Brand 的 BrandID 的 ValueProperties

Fig. 9 - ValueProperties for BrandName (of Brand)

图 9 - Brand 的 BrandName 的 ValueProperties

Fig. 10 - ValueProperties for RowVersion (of Brand)

图 10 - Brand 的 RowVersion 的 ValueProperties

A-2.3. Criteria 部分

Fig. 11 - Criteria Objects for Brand

图 11 - Brand 的 Criteria 对象

Fig. 12 - Criteria for Brand

图 12 - Brand 的 Criteria

Fig. 13 - CriteriaProperties for BrandID (of Criteria for Brand)

图 13 - Brand 的 Criteria 的 BrandID 的 CriteriaProperties

Fig. 14 - CriteriaProperties for RowVersion (of Criteria for Brand)

图 14 - Brand 的 Criteria 的 RowVersion 的 CriteriaProperties

Fig. 15 - CriteriaNew for Brand

图 15 - Brand 的 CriteriaNew

A-2.4. 其他属性部分

Fig. 16 - Other Brand properties

图 16 - Brand 的其他属性

A-3. ModelColl

A-3.1. Criteria 部分

Fig. 17 - Criteria for ModelColl

图 17 - ModelColl 的 Criteria

Fig. 18 - CriteriaProperties for BrandID (of Criteria for ModelColl)

图 18 - ModelColl 的 Criteria 的 BrandID 的 CriteriaProperties

A-3.2. 其他属性部分

Fig. 19 - Other ModelColl properties

图 19 - ModelColl 的其他属性

A-4. Model

A-4.1. 值属性部分

Fig. 20 - Value Properties collection for Model

图 20 - Model 的值属性集合

Fig. 21 - ValueProperties for ModelID (of Model)

图 21 - Model 的 ModelID 的 ValueProperties

Fig. 22 - ValueProperties for ModelName (of Model)

图 22 - Model 的 ModelName 的 ValueProperties

Fig. 23 - ValueProperties for Price (of Model)

图 23 - Model 的 Price 的 ValueProperties

Fig. 24 - ValueProperties for RowVersion (of Model)

图 24 - Model 的 RowVersion 的 ValueProperties

A-4.2. Criteria 部分

Fig. 25 - Criteria Objects for Model

图 25 - Model 的 Criteria 对象

Fig. 26 - Criteria for Model

图 26 - Model 的 Criteria

Fig. 27 - CriteriaProperties for ModelID (of Criteria for Model)

图 27 - Model 的 Criteria 的 ModelID 的 CriteriaProperties

Fig. 28 - CriteriaProperties for RowVersion (of Criteria for Model)

图 28 - Model 的 Criteria 的 RowVersion 的 CriteriaProperties

Fig. 29 - CriteriaNew for Model

图 29 - Model 的 CriteriaNew

A-4.3. 其他属性部分

Fig. 30 - Other Model properties

图 30 - Model 的其他属性

本文的其他部分

历史

  • 文档版本 1:2009 年 3 月 12 日
© . All rights reserved.