.NET 學習

.NET 學習生活感想... 万事成蹉跎..... 贵在坚持 及时整理自己做过和学过的东西

博客园 首页 新随笔 联系 订阅 管理

随笔分类 -  XAF and XPO

上一页 1 2

摘要:1.在列表编辑器中2.在属性编辑器中3.实现代码如下代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--usingSystem;usingSystem.ComponentModel;usingDevExpress.Xpo;usingDevExpres... 阅读全文
posted @ 2010-06-22 17:20 Tonyyang 阅读(1134) 评论(1) 推荐(0)

摘要:1.语法[代码]ParametersobjectType A System.Type object that identifies the type of objects against which the expression will be evaluated. expression A DevExpress.Data.Filtering.CriteriaOperator object th... 阅读全文
posted @ 2010-05-28 15:22 Tonyyang 阅读(1133) 评论(0) 推荐(0)

摘要:代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--publicclassOrder:XPObject{publicOrder(){}publicdecimalUnitPrice;publicintQty;publicdecimalDiscount;... 阅读全文
posted @ 2010-05-28 14:05 Tonyyang 阅读(488) 评论(0) 推荐(1)

摘要:/Files/Tonyyang/eXpressAppFramework_CHS.rar Devexpress最新帮助文档:http://documentation.devexpress.com/ 阅读全文
posted @ 2010-05-28 08:56 Tonyyang 阅读(949) 评论(0) 推荐(0)

摘要:How to create fully custom Role, User, Event, Resource classes for use with the Security and Scheduler moduleshttp://www.devexpress.com/Support/Center/e/E1255.aspx 阅读全文
posted @ 2010-05-27 14:58 Tonyyang 阅读(1111) 评论(2) 推荐(0)

摘要:How to show custom windows in XAFhttp://www.devexpress.com/Support/Center/KB/p/K18117.aspx 阅读全文
posted @ 2010-05-27 13:59 Tonyyang 阅读(745) 评论(0) 推荐(0)

摘要:1.XPO中 聚合函数的使用(Count,Max,Sum,Min) 用Session中的Evaluate<>()方法[代码] 阅读全文
posted @ 2009-12-18 16:49 Tonyyang 阅读(749) 评论(0) 推荐(0)

摘要:How to enable runtime customization of the Pivot Grid http://www.devexpress.com/Support/Center/p/E1886.aspx 阅读全文
posted @ 2009-12-18 13:23 Tonyyang 阅读(510) 评论(0) 推荐(0)

摘要:Example Details: How to prevent a DetailView from being shown when a User double clicks or presses the Enter key on a record in a ListView (Example)http://www.devexpress.com/Support/Center/p/E622.aspx 阅读全文
posted @ 2009-12-18 13:22 Tonyyang 阅读(419) 评论(0) 推荐(0)

摘要:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--usingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingDevExpress.ExpressApp;usingDevExpr... 阅读全文
posted @ 2009-12-16 09:17 Tonyyang 阅读(604) 评论(0) 推荐(0)

摘要:How to: Map a Database View to a Persistent Class(如何:映射数据库视图到持久化类)http://documentation.devexpress.com/#Xaf/CustomDocument3281代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--首先创建一个结构体,结构体中的属性为要绑定的视图列publicstructMyViewKey{[Persistent("Name")]publics 阅读全文
posted @ 2009-12-13 14:24 Tonyyang 阅读(968) 评论(0) 推荐(0)

摘要:1.问题: 有多对对关系对象,想为从对象选择数据录入从别的相关对象。2.实现思路:   A.弹出选择窗体,从中选出所需记录 B.将A和B组合为从对象,保存 C.修改主从对象列表为可编辑(在View 中Item_Detail_ListView设置为可编辑)3.代码实现[代码] 阅读全文
posted @ 2009-12-08 11:58 Tonyyang 阅读(954) 评论(0) 推荐(0)

摘要:有三种方法设置默认值:1.BaseObject.AfterConstruction,覆写AfterConstruction方法[代码]2.IXPObject.OnSaving,覆写OnSaving()方法[代码]3.In a field declaration,在字段定义中[代码] 阅读全文
posted @ 2009-12-03 14:30 Tonyyang 阅读(592) 评论(0) 推荐(0)

摘要:1.XAF 扩展模块  http://apobekiaris.blogspot.com/2009/10/yes-xaf-can-do-it-before-lunch.html   Expand soure code :http://expandframework.googlecode.com/svn/trunk/2.XAF CodeSmithTemplate 使用视频:http://megasw... 阅读全文
posted @ 2009-11-07 16:47 Tonyyang 阅读(443) 评论(0) 推荐(0)

摘要:Unit OF Work工作单元 eXpress Persistent Objects can now perform semi-automatic change tracking using the Unit of Work principle. A Unit of Work maintains a list of persistent objects that are affected by ... 阅读全文
posted @ 2009-10-30 10:01 Tonyyang 阅读(778) 评论(0) 推荐(0)

摘要:eXpressApp Framework ArchitectureXAF架构Applications built with the eXpressApp Framework are comprised of several functional blocks. The schema below shows the basic blocks, indicates when and how these... 阅读全文
posted @ 2009-10-29 17:24 Tonyyang 阅读(1371) 评论(0) 推荐(0)

摘要:制作XAF 属性样式模板1.新建模板 #PropertyWriteXAF# «:#PropertyVarDeclaration#» «:#PropertyDefaultScope#»«TypeLink("«?Get(Type)»")» «:#PropertyBody#»2.继续新建模板  #Pro... 阅读全文
posted @ 2009-10-26 17:53 Tonyyang 阅读(557) 评论(0) 推荐(0)

上一页 1 2
欢迎转载,转载请注明出处:http://www.cnblogs.com/Tonyyang/