摘要: https://www.cnblogs.com/foreachlife/p/XAFSaveValidationRuleToDB.html 有几种方法可以用来声明一个验证规则。最常用的方法是使用对应的Attribute来定义。详见这里。 验证模块还允许您通过在业务类实现 IRuleSource 接口定 阅读全文
posted @ 2019-10-23 15:19 JohnnyLei 阅读(191) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/foreachlife/p/xpoupcasting.html XAF学习笔记之 Upcasting 通常,我们会定义继承层次结构,假设有类型,CustomerBase,CustomerTrialed,CustomerRegistered三个类型,并且 阅读全文
posted @ 2019-10-23 15:01 JohnnyLei 阅读(173) 评论(0) 推荐(0)