.NET 學習

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

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

2011年3月29日 #

摘要: http://www.mssqltips.com/tip.asp?tip=1958 阅读全文
posted @ 2011-03-29 13:47 Tonyyang 阅读(292) 评论(0) 推荐(0) 编辑

2011年3月23日 #

摘要: 例如给订单增加版本控制usingSystem;usingSystem.ComponentModel; usingDevExpress.Xpo;usingDevExpress.Data.Filtering; usingDevExpress.ExpressApp;usingDevExpress.Persistent.Base;usingDevExpress.Persistent.BaseImpl;usingDevExpress.Persistent.Validation; namespaceDXExample.Module{[DefaultClassOptions]publicclassPO:Ba 阅读全文
posted @ 2011-03-23 12:27 Tonyyang 阅读(464) 评论(0) 推荐(0) 编辑

2011年3月15日 #

摘要: XAF 如何实现ListView单元格批量更改? publicpartialclassGridViewCellsValueUpdateViewController:ViewController{publicGridViewCellsValueUpdateViewController(){InitializeComponent();RegisterActions(components);}protectedoverridevoidOnActivated(){base.OnActivated();//this.paUpdateCellsValue.Enabled.SetItemValue(&quo 阅读全文
posted @ 2011-03-15 17:23 Tonyyang 阅读(635) 评论(0) 推荐(0) 编辑

摘要: Conditional Object Access Permission:http://www.devexpress.com/Support/Center/p/Q267964.aspxCustom ObjectAccessPermission type is ignored by the Security system :http://www.devexpress.com/Support/Center/p/Q268440.aspxusingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Security;u 阅读全文
posted @ 2011-03-15 17:19 Tonyyang 阅读(867) 评论(0) 推荐(0) 编辑

2011年3月10日 #

摘要: 1.在ViewController上添加两个ParameterAction2.隐藏一个ParameterAction中的Action3.实现代码:privatevoidParermaterViewController_ViewControlsCreated(objectsender,EventArgse){IBarManagerHolderbmh=Frame.TemplateasIBarManagerHolder;if(bmh!=null&&bmh.BarManager!=null){foreach(BarItemiteminbmh.BarManager.Items){BarE 阅读全文
posted @ 2011-03-10 12:28 Tonyyang 阅读(660) 评论(0) 推荐(0) 编辑

摘要: 一个有问题的按钮权限控制:http://www.devexpress.com/Support/Center/p/Q261403.aspx(一个角色只能控制一个按钮权限)隐藏显示按钮:http://www.devexpress.com/Support/Center/kb/p/K18055.aspxCheck Permission http://documentation.devexpress.com/#Xaf/CustomDocument2981 Action based Permission:http://www.devexpress.com/Support/Center/p/Q141870. 阅读全文
posted @ 2011-03-10 12:22 Tonyyang 阅读(1214) 评论(0) 推荐(0) 编辑

2011年1月27日 #

摘要: 原文:http://www.expandframework.com/Xpand Framework(Xpand框架)Xpand是第一个基于DevExpress eXpressApp Framework(XAF)开源项目。它XAF包含在DXPerience Universal中,有30天试用期,试用版下载地址https://www.devexpress.com/ClientCenter/Downloads.eXpand框架是基于Microsoft Public License (Ms-PL)形式开源. XAF是不开源的,必须从DevExpress.购买。eXpandFramework 团队为XA 阅读全文
posted @ 2011-01-27 17:18 Tonyyang 阅读(2886) 评论(0) 推荐(0) 编辑

摘要: 原文:http://apobekiaris.blogspot.com/2011/01/easy-sequential-numbers.htmlEasy Sequential numbers(易用的序列号)Where they can be used?? In many places for example invoices, sales orders etc.他们能用在哪里?例如,在许多地方,发票,销售订单等等。One could tell that this is an easy task and maybe that assumption is right but let me write 阅读全文
posted @ 2011-01-27 09:13 Tonyyang 阅读(1221) 评论(0) 推荐(0) 编辑

摘要: 原文:http://community.devexpress.com/blogs/garyshort/archive/2010/10/08/xpo-direct-sql-queries.aspx直接执行SQL查询In the comments to my previous blog post about executing stored procedures from XPO, you asked how you could execute a SQL query from within a persistent class, so in this post I thought I’d sho 阅读全文
posted @ 2011-01-27 09:02 Tonyyang 阅读(2102) 评论(0) 推荐(0) 编辑

摘要: 原文:http://community.devexpress.com/blogs/garyshort/archive/2010/09/28/xpo-stored-procedure-support-coming-in-v2010-vol-2-part-2.aspxXPO - Stored Procedure Support coming in V2010 Vol 2 (Part 2)You’ll recall in my previous post on this in the forth coming topic I told you that there would be two ways 阅读全文
posted @ 2011-01-27 08:58 Tonyyang 阅读(693) 评论(0) 推荐(0) 编辑

摘要: 原文:http://community.devexpress.com/blogs/garyshort/archive/2010/09/22/xpo-stored-procedure-support-coming-in-v2010-vol-2.aspxXPO – Stored Procedure Support Coming in V2010 Vol 2 --Part 1Unless you work in a very small software shop, or are a ‘one man band’, the chances are you don’t ‘own’ the data t 阅读全文
posted @ 2011-01-27 08:49 Tonyyang 阅读(1333) 评论(0) 推荐(0) 编辑

2011年1月26日 #

摘要: XPO 支持存储过程 Part1XPO 支持存储过程 Part2XPO 直接支持执行SQL查询待续... 阅读全文
posted @ 2011-01-26 10:03 Tonyyang 阅读(532) 评论(0) 推荐(0) 编辑

摘要: Easy Senquential(易用的序列号)Xpand框架模块功能概要介绍待续... 阅读全文
posted @ 2011-01-26 09:58 Tonyyang 阅读(558) 评论(0) 推荐(0) 编辑

摘要: XAF 相关领域构件(DC)技术1.领域构件基础。2.如何实现领域构件3.领域构件发展情况4.写领域构件DC翻译博客一5.一对多关系DC翻译博客二7.DC中的关联DC翻译博客三8.接口和BOModelDC翻译博客四9.对基库的思考DC翻译博客五10.在BOModel中实现接口DC翻译博客六11.写一个正式的CRM应用程序DC翻译博客七12.XCRM销售机会和销售线索DC翻译博客八13.市场营销和客户服务DC翻译博客九14.XCRM 活动DC翻译博客十15.组合关联DC翻译博客十一 阅读全文
posted @ 2011-01-26 09:08 Tonyyang 阅读(398) 评论(0) 推荐(0) 编辑

摘要: DC: Combining associations(組合關聯)Remember that the base idea of creating the Domain Component Technology is to be able to compose an application from reusable blocks – components. These blocks can be bought from third-party sources. This allows you to reuse well-polished blocks. But this also means t 阅读全文
posted @ 2011-01-26 08:46 Tonyyang 阅读(642) 评论(0) 推荐(0) 编辑

摘要: 原文地址:http://community.devexpress.com/blogs/eaf/archive/2008/10/09/xcrm-activities.aspxXCRM: ActivitiesThis post is entirely devoted to Activities. It's more interesting to design Activities, because they are more complex than other components that I described earlier. There are three points I consid 阅读全文
posted @ 2011-01-26 08:42 Tonyyang 阅读(682) 评论(0) 推荐(0) 编辑

2011年1月25日 #

摘要: XCRM: Marketing Campaigns and Customer support(市场营销和客户支持)Marketing Campaigns(市场营销)A Marketing Campaign has no relationships. However, a Lead and Opportunity may reference a Campaign:市场营销不靠关系。然而,一个Lead和Opportunity可能来自广告:[Test]public void CampaignRelationships() { RegisterDCILead(); RegisterDCICamp 阅读全文
posted @ 2011-01-25 14:44 Tonyyang 阅读(465) 评论(0) 推荐(0) 编辑

摘要: XCRM: Leads and opportunities(XCRM销售线索和销售机会)A Lead is not directly linked to a Contact or Account. It can be converted into an Account, Contact or Opportunity later. I’ll just capture the fact that the Lead class exists and may have some basic info:一个销售线索不直接链接到联系人或客户。它能被转换成一个客户,联系人或之后的销售机会。我就抓住事实,存在 阅读全文
posted @ 2011-01-25 08:35 Tonyyang 阅读(615) 评论(0) 推荐(0) 编辑

摘要: XCRM: Writing real-world CRM application(写一个正式的CRM应用程序)I'm starting to write a generic CRM application, to try the new domain component (DC) technology and decide what classes should be included in our Domain Component technology. This application should be suitable for small business and extendable 阅读全文
posted @ 2011-01-25 08:33 Tonyyang 阅读(1081) 评论(0) 推荐(0) 编辑

2011年1月24日 #

摘要: DC: Implemented interfaces in BOMode(在BOModel中实现接口)While playing with CRM domain models, I've got a component like this:当用CRM领域构件,我有这样一个组件:view plain | print | copy to clipboard1[DomainComponent] 2publicinterfaceIContact:IPersonalContactInfo,IPerson{ 3IAccountAccount{get;set;} 4}This led me to one m 阅读全文
posted @ 2011-01-24 08:56 Tonyyang 阅读(533) 评论(0) 推荐(0) 编辑

摘要: 对基库的思考The new Domain Components framework will let developers create reusable domain components. Obviously, we should supply our variant of the domain component library. Our library should be full enough to let XAF developers start fast, and to provide a common well-established base for domain compo 阅读全文
posted @ 2011-01-24 08:53 Tonyyang 阅读(539) 评论(0) 推荐(0) 编辑

2011年1月22日 #

摘要: 有时间翻译这篇比较好的入门实例教程Getting the Job Done with XAF - Part 1http://www.codeproject.com/KB/showcase/XAFGettingTheJobDonePart1.aspx 阅读全文
posted @ 2011-01-22 10:20 Tonyyang 阅读(898) 评论(0) 推荐(0) 编辑

摘要: 原文地址:http://community.devexpress.com/blogs/eaf/archive/2008/09/30/interfaces-and-bomodel.aspx接口和BOModel This post is one in a series about our work on Domain Components (DC) framework and related component libraries. I’m just describing what we are working on, what problems we are facing and what re 阅读全文
posted @ 2011-01-22 09:19 Tonyyang 阅读(564) 评论(0) 推荐(0) 编辑

2011年1月21日 #

摘要: 如果你的word 的默认设置被你无意中改乱了而你又找不到某些在默认状态下的选项了,教你一个命令来把word恢复成刚安装完成时的默认设置点 开始 菜单——运行—— ,在运行框里输入winword /a 阅读全文
posted @ 2011-01-21 17:11 Tonyyang 阅读(599) 评论(0) 推荐(0) 编辑

摘要: DC中的关联This post is one in a series about our work on Domain Components (DC) framework and related component libraries. I’m just describing what we are working on, what problems we are facing and what results we've got so far.这篇文章是系列博客之一,关于我们对DC框架工作情况,有关构件库。我只是描述了我们正在努力的工作,遇到的问题,以及目前的工作进展。In my previ 阅读全文
posted @ 2011-01-21 08:47 Tonyyang 阅读(678) 评论(0) 推荐(0) 编辑

2011年1月20日 #

摘要: DC: 一对多关系In the first post of the series devoted to our new domain component (DC) technology, I tried to show an interface-defined entity in a UI.在第一篇博客专门讨论我们新的领域构件技术,我试着在界面显示一个接口定义实体。I used some IPerson component as an example:我用一些Iperson构件作为例子:view plain | print | copy to clipboard1publicenumGende 阅读全文
posted @ 2011-01-20 15:15 Tonyyang 阅读(887) 评论(0) 推荐(0) 编辑

2011年1月19日 #

摘要: 原文:http://community.devexpress.com/blogs/eaf/archive/2008/09/25/writing-domain-components-framework-dc.aspxI'm starting a series of posts on my blog to share our experience while designing the domain component (DC) technology. It will be useful for us to know whether you like what we are doing. If n 阅读全文
posted @ 2011-01-19 14:07 Tonyyang 阅读(815) 评论(0) 推荐(0) 编辑

摘要: 如何显示XtraGrid水平滚动条?设置Grid View’s OptionsView中ColumnAutoWith选项为false,和ShowHorzLines选项为True.注意:仅当Grid的显示列总宽度超过Grid的客户端宽度时候才显示水平滚动条。欢迎转载,转载请注明出处:http://www.cnblogs.com/Tonyyang/ 阅读全文
posted @ 2011-01-19 10:07 Tonyyang 阅读(482) 评论(0) 推荐(0) 编辑

2011年1月18日 #

摘要: XAF–The State of Domain Components Technology in V2010 Vol 2XAF –在V2010 卷2中领域构件的状况http://community.devexpress.com/blogs/garyshort/archive/2010/12/01/xaf-the-state-of-domain-components-technology-in-v2010-vol-2.aspxDuring the 10.2 release cycle, we have been closely working with the XPO team to allow 阅读全文
posted @ 2011-01-18 09:18 Tonyyang 阅读(645) 评论(0) 推荐(0) 编辑

2011年1月17日 #

摘要: How to: Implement Domain Components(如何实现领域构件)eXpressApp Framework Task-Based Help How to: Implement Domain Components This topic illustrates how to implement and use the Domain Components (DC). We will define several components and demonstrate how they can be combined using multiple inheritance. 阅读全文
posted @ 2011-01-17 10:24 Tonyyang 阅读(889) 评论(0) 推荐(0) 编辑

2011年1月15日 #

摘要: Domain Components Basics(领域组件基础)eXpressApp Framework Concepts Business Model Design Domain Components Domain Components Basics Domain Components technology is designed to simplify data management and reusability by providing a much more flexible and abstracted approach to business object des 阅读全文
posted @ 2011-01-15 15:50 Tonyyang 阅读(1065) 评论(0) 推荐(0) 编辑

2011年1月14日 #

摘要: Model Editor(模型编辑器)eXpressApp Framework Concepts Application Model Model Editor The Application Model is formed from layers. The first layer is generated from code. The following layers represent the changes stored in XafML files that are located in referenced modules. The final layer represen 阅读全文
posted @ 2011-01-14 16:09 Tonyyang 阅读(1792) 评论(0) 推荐(0) 编辑

2011年1月13日 #

摘要: Convert Application Model Differences转换不同应用程序模型eXpressApp Framework Concepts Application Model Convert Application Model Differences The eXpressApp Framework is based on the modules concept. As a rule, every module implements a certain feature. Entities implemented in a module, such as persist 阅读全文
posted @ 2011-01-13 08:36 Tonyyang 阅读(491) 评论(0) 推荐(0) 编辑

2011年1月12日 #

摘要: 用代码扩展和自定义应用程序模型eXpressApp Framework Concepts Application Model Extend and Customize the Application Model in Code You can customize the information loaded to the Application Model via the Model Editor. It allows you to edit the information at design time, forming Application Model layers in ea 阅读全文
posted @ 2011-01-12 15:47 Tonyyang 阅读(632) 评论(0) 推荐(0) 编辑

2011年1月11日 #

摘要: 用代码访问应用程序模型eXpressApp Framework Concepts Application Model Access the Application Model in Code The Application Model represents a large data store which is used when running the application to generate the UI and configure the application behavior. This topic details how to access the Applica 阅读全文
posted @ 2011-01-11 08:42 Tonyyang 阅读(481) 评论(0) 推荐(0) 编辑

2011年1月10日 #

摘要: 应用程序模型中业务模型eXpressApp Framework Concepts Application Model Business Model in the Application Model With the eXpressApp Framework, only the business model has to be implemented when building a business application. Views for each business class from the business model will be generated automati 阅读全文
posted @ 2011-01-10 14:32 Tonyyang 阅读(400) 评论(0) 推荐(0) 编辑

摘要: 应用程序模型架构eXpressApp Framework Concepts Application Model Application Model Structure The Application Model consists of nodes and their properties. Nodes can have child nodes, and they form the tree structure of the Application Model. This topic explains how the Application Model structure for a 阅读全文
posted @ 2011-01-10 13:57 Tonyyang 阅读(515) 评论(0) 推荐(0) 编辑

2011年1月8日 #

摘要: XAF 应用程序模型基础 eXpressApp Framework Concepts Application Model 应用程序结构基础 业务应用程序是复杂的工程。从头开始建立一个应用程序,你不得不实现数据存储、数据可视化、业务逻辑、等等。使用XAF只需要实现业务模型。默认自动生成应用程序界面。为此,XAF应用程序界面模型结构信息用了一个特殊的数据存储。在它是基于应用程序中代码(定义的类)和引用模块生成的。本篇详述如何收集应用程序模型信息和如何用它自定义默认应用程序界面。应用程序模型结构 当你运行一个Windows Forms或者ASP.NET应用程序时,应用程序模型将建立界面元 阅读全文
posted @ 2011-01-08 16:03 Tonyyang 阅读(717) 评论(0) 推荐(0) 编辑

2011年1月7日 #

摘要: eXpressApp Framework 有两个主要特点:自动构建用户界面和同一业务逻辑应用到不同平台。即是应用程序中可视化元素都是有XAF自动生成,基于数据类和其它声明的特殊类型。因此, eXpressApp Framework扫描应用程序代码,提取所需的类别,分析他们,并建立了数据库结构和用户界面。The result of class declaration analysis is the creation of metadata - data that defines database structure and application features via a neutral f 阅读全文
posted @ 2011-01-07 11:19 Tonyyang 阅读(413) 评论(0) 推荐(0) 编辑

摘要: 使用 eXpressApp Framework 构建的应用程序由几个功能块组成. 下图展示了基本的块, 指明何时及这些块如何被创建, 最后, 展示了你可以扩展应用程序的区域. 每个应用程序构建块的概述在本文的后面给出.XPO - 数据管理级 当构建一个业务应用程序时, 基本上都需要处理数据. 如果使用 eXpressApp Framework, 事实上你不需要在 DBMS 中创建一个数据库, 定制表, 字段等. 你不需要使用低级的 ADO.NET 结构访问数据. 而是使用内建的“对象-关系映射系统” - eXpressPersistent Objects 库 (XPO 在上图的底部). 这个库 阅读全文
posted @ 2011-01-07 11:12 Tonyyang 阅读(1212) 评论(0) 推荐(0) 编辑

欢迎转载,转载请注明出处:http://www.cnblogs.com/Tonyyang/