摘要: EF4中多表映射为一个实体........ 阅读全文
posted @ 2010-06-30 21:19 i'm zjz 阅读(2338) 评论(0) 推荐(0) 编辑
摘要: EF4中多对多关系表模型 阅读全文
posted @ 2010-06-30 13:15 i'm zjz 阅读(1109) 评论(0) 推荐(0) 编辑
摘要: TargetNullValue与FallbackValue 阅读全文
posted @ 2010-06-23 11:42 i'm zjz 阅读(2176) 评论(0) 推荐(1) 编辑
摘要: EntitySets Now Return ObjectSet ClassesIn the conceptual model, an EntitySet is a wrapper for a particular set of Entity types. For example, the Customers Entity Set is a wrapper for Customer entities... 阅读全文
posted @ 2010-06-22 07:09 i'm zjz 阅读(320) 评论(0) 推荐(0) 编辑
摘要: 表示一个动态数据集合,在添加项、移除项或刷新整个列表时,此集合将提供通知。命名空间: System.Collections.ObjectModel程序集: System.Windows(在 System.Windows.dll 中)语法: [代码]可以枚举实现 IEnumerable 接口的任何集合,这对于 Silverlight 中的一次性数据绑定已足够。但是,若要设置动态绑定,以使集合中的插入... 阅读全文
posted @ 2010-06-20 10:57 i'm zjz 阅读(633) 评论(0) 推荐(0) 编辑
摘要: 上一篇文章中在XAML中通过标识扩展实现了一个简单的数据绑定,这篇中将通过C#代码实现上篇相同效果。 上面说过,上篇是通过扩展标识实现TextBlock的数据绑定: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--<TextBlockx:N... 阅读全文
posted @ 2010-06-19 10:38 i'm zjz 阅读(346) 评论(0) 推荐(0) 编辑
摘要: 这个例子中被绑定的数据是一个owner类的实例,现在silverlight项目中添加一个owner类 Class OwnerCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--publicclassOwner{publicintOwnerId{get;se... 阅读全文
posted @ 2010-06-19 09:20 i'm zjz 阅读(490) 评论(0) 推荐(0) 编辑
摘要: 首先添加mscorlib assembly的命名空间引用 xmlns:r="clr-namespace:System;assembly=mscorlib" XAML代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--<TextBlock>&... 阅读全文
posted @ 2010-06-12 06:45 i'm zjz 阅读(1547) 评论(0) 推荐(0) 编辑
摘要: Lastly, this chapter is going to briefly cover some of the new features in version 4.0 of the EntityFramework. There are a lot of new features and enhancements, but these next few pages will highlight... 阅读全文
posted @ 2010-06-03 05:13 i'm zjz 阅读(748) 评论(0) 推荐(0) 编辑
摘要: If you have been working with the ADO.NET Entity Framework, you have probably been extremely eager to get your hands on the next version that is now part of Visual Studio 2010 and .NET 4.0. Long refer... 阅读全文
posted @ 2010-06-01 06:04 i'm zjz 阅读(510) 评论(0) 推荐(0) 编辑