摘要: [Display(Name = "联系人", Order = 3)]System.ComponentModel.DataAnnotations.Display类似的还有:[Required] [Range(0, 70)]http://www.cnblogs.com/facingwaller/archive/2010/12/23/1914326.html[Required][Display(Name="LastName",ShortName="姓",Order=2)][Editable(false)]publicstringLastNa 阅读全文
posted @ 2012-05-28 21:54 Ken-Cai 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 原文在 http://msdn.microsoft.com/zh-cn/library/ee707370(v=vs.91)DomainContext 类支持查询、提交和调用这三种域操作. LoadOperation、SubmitOperation 和 InvokeOperationLoadOperation: EntityQuery<Customer> query = from c in _customerContext.GetCustomersQuery() where c.Phone.StartsWith("583") orderby c.LastName 阅读全文
posted @ 2012-05-28 17:03 Ken-Cai 阅读(507) 评论(0) 推荐(0) 编辑
摘要: System.Windows.Browser.HtmlPage.Window.Invoke("close"); 阅读全文
posted @ 2012-05-28 15:39 Ken-Cai 阅读(180) 评论(0) 推荐(0) 编辑
摘要: Mvvm Light Toolkit for wpf/silverlight 阅读全文
posted @ 2012-05-28 13:55 Ken-Cai 阅读(222) 评论(0) 推荐(0) 编辑
摘要: WPF新手实践1:MVVM Light Toolkit 阅读全文
posted @ 2012-05-28 13:52 Ken-Cai 阅读(203) 评论(0) 推荐(0) 编辑
摘要: if(IsInDesignMode) { //CoderunsinBlend-->createdesigntimedata. WelcomText= "设计时的值"; } else { //Coderuns"forreal":Connecttoservice,etc... WelcomText= "运行时的值"; } 阅读全文
posted @ 2012-05-28 11:47 Ken-Cai 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 现有Silverlight程序使用mvvmlight开发框架教程 http://wenku.baidu.com/view/f93d2bd549649b6648d747b8.html 阅读全文
posted @ 2012-05-28 08:13 Ken-Cai 阅读(383) 评论(0) 推荐(0) 编辑