9eFish - 带有 Entity Framework 标签的文章
1
臭虫

ASP.NET MVC, Entity Framework, One-to-Many and Many-to-Many INSERTS

adminadmin 发表于 190 天, 9 小时, 35 分钟 之前
Wednesday, September 09, 2009 3:02:40 AM GMT Wednesday, September 02, 2009 5:33:54 AM GMT
ASP.NET MVC, Entity Framework, One-to-Many and Many-to-Many INSERTS   Taking on two new technologies - ASP.NET MVC and the Entity Framework - at the same time was bound to provide some "interesting" moments. Getting data out via EF has so far been pretty straightforward. But when it got to building the back end of my site, I had some fun trying to manage INSERTS with One-To-Many and Many-To-Many relationships.   If you haven't been keeping up so far, my site is pretty simple with a fair... (more)
类别: Foundation | 点击: 2 | 评论 | | 源: www.mikesdotnetting.com
标签: asp.net mvc, Entity Framework
1
臭虫

CodeProject: 性能 the Entity Framework.

xgluxvxgluxv 发表于 210 天, 13 小时, 7 分钟 之前
Wednesday, August 19, 2009 1:54:46 AM GMT Thursday, August 13, 2009 2:01:52 AM GMT
Introduction If you are using the Entity Framework (EF), then you need to understand the best practices for improving its performance, or you will suffer the consequences! Background My team has spent almost 2 years with the first version of the Entity Framework in an enterprise application (including the beta). Our application has a Service Oriented Architecture (SOA) that uses the .NET 3.5 Framework SP1, SQL Server 2008 and IIS 7.0 on Windows Server 2008. During development we ran into significant is... (more)
类别: Foundation | 点击: 3 | 评论 | | 源: www.codeproject.com
标签: Entity Framework, 性能
1
臭虫

Entity Framework Design : Code Only Enhancements

adminadmin 发表于 217 天, 13 小时, 27 分钟 之前
Friday, August 07, 2009 1:25:03 AM GMT Thursday, August 06, 2009 1:41:55 AM GMT
Code Only EnhancementsPublished 03 August 09 11:11 PM | efdesign  We've been working hard on Code Only since the first preview of CodeOnly.In the next release you will be able to specify: Navigation Property Inverses. Property Facets, like Nullability, MaxLength, Precision etc. Property to Column mappings Type to Table(s) mappings Inheritance strategy Encapsulate configuration The rest of this post will drill into each of these features in turn.Registering NavigationProperty inverses: You can now... (more)
类别: Foundation | 点击: 2 | 评论 | | 源: blogs.msdn.com
标签: Entity Framework
1
臭虫

LINQ To Entities, SQL and performance - Gunnar Peipman's ASP.NET blog

gpeipmangpeipman 发表于 221 天, 14 小时, 28 分钟 之前
Wednesday, August 05, 2009 2:15:27 PM GMT Sunday, August 02, 2009 12:40:54 AM GMT
I have introduced my photo gallery building process in couple of postings. As my gallery uses Entity Framework 4.0 it is good source for some internal processing that takes place inside Entity Framework. In this posting I will show you some LINQ To Entities queries and SQL that is generated for them. I added also some thoughts about performance. (more)
类别: Foundation | 点击: 3 | 评论 | | 源: weblogs.asp.net
标签: Entity Framework, linq to entities, performance, sql
1
臭虫

KiGG - Home

dotlivedotlive 发表于 251 天, 13 小时, 12 分钟 之前
Tuesday, July 07, 2009 2:00:18 PM GMT Friday, July 03, 2009 1:56:24 AM GMT
Configuring KiGG to use MySQL Database through Entity Framework Introduction This article is concerned with configuring KiGG to use MySQL database through Entity Framework Repository Provider. It is mandatory that your read How to configure KiGG to use Entity Framework Repository first and apply the settings mentioned in that article. (more)
类别: Architecture | 点击: 5 | 评论 | | 源: kigg.codeplex.com
标签: Entity Framework, Kigg, mysql
1
臭虫

ADO.NET team blog : POCO in the Entity Framework : Part 3 – Change Tracking with POCO

xgluxvxgluxv 发表于 272 天, 12 小时, 44 分钟 之前
Tuesday, June 16, 2009 1:45:43 PM GMT Friday, June 12, 2009 2:24:42 AM GMT
POCO in the Entity Framework : Part 3 – Change Tracking with POCOPublished 10 June 09 08:43 AM | dpblogs  In my last post on POCO, I mentioned the fact that there are two types of change tracking possibilities with POCO: Snapshot based Change Tracking and Notification based Change Tracking with Proxies. In this post, I would like to drill into both options a bit further and cover the advantages and disadvantages of both, along with the implications of using either approach. We will also be posting ide... (more)
类别: Foundation | 点击: 11 | 评论 | | 源: blogs.msdn.com
标签: Entity Framework, Poco
1
臭虫

InfoQ: Entity Framework窍门

adminadmin 发表于 273 天, 7 小时, 55 分钟 之前
Monday, June 15, 2009 7:08:41 AM GMT Thursday, June 11, 2009 7:14:00 AM GMT
微软ADO.NET团队的程序经理Alex James最近发布了一系列关于Entity Framework窍门的博客文章。这些系列文章涵盖了EF3.5到EF4.0的内容,对于使用Entity Framework的构架师和开发人员来说,都能从中受益匪浅。 目前这个系列文章已经发表了24篇 (more)
类别: Foundation | 点击: 4 | 评论 | | 源: www.infoq.com
标签: Entity Framework
1
臭虫

创建一个标签云使用asp.net mvc和 Entity Framework

carolhaozicarolhaozi 发表于 274 天, 12 小时, 59 分钟 之前
Thursday, June 11, 2009 7:13:03 AM GMT Wednesday, June 10, 2009 2:09:28 AM GMT
Creating a Tag Cloud using ASP.NET MVC and the Entity Framework A Tag Cloud is a visual depiction of Tags or categories on a web site. CSS is used to set the variable font size of each Tag to illustrate its relative frequency or popularity within the site. As part of the migration of my site to ASP.NET MVC, I am introducing one to replace the Categories navigation that appears on the left hand side of each page, which contains a count of items within each category. One of the reason... (more)
类别: Web Form | 点击: 1 | 评论 | | 源: www.mikesdotnetting.com
标签: asp.net mvc, Entity Framework
1
臭虫

Entity Framework 学习高级篇2—改善EF代码的方法(下) - ♂风车车.Net - 博客园

dotlivedotlive 发表于 275 天, 10 小时, 7 分钟 之前
Tuesday, June 09, 2009 12:54:22 PM GMT Tuesday, June 09, 2009 5:01:18 AM GMT
Entity Framework 学习高级篇2—改善EF代码的方法(下) 本节,我们将介绍一些改善EF代码的方法,包括编译查询、存储模型视图以及冲突处理等内容。 l         CompiledQuery 提供对查询的编译和缓存以供重新使用。当相同的查询需要执行很多遍的时候,那么我们可以使用ComplieQuery将查询的语句进行编译以便下次使用,这样可以免去对同一语句的多次处理,从而改善性能。 示例代码如下: [Test]         publicvoid ComplieTest()         {             using (var db = newNorthwindEntities1())             {                 //对查询进行编译                 var customer = CompiledQuery.Compile (more)
类别: Foundation | 点击: 0 | 评论 | | 源: www.cnblogs.com
标签: Entity Framework, 改善EF代码的方法
1
臭虫

Entity Framework 学习高级篇1—改善EF代码的方法(上) - ♂风车车.Net - 博客园

adminadmin 发表于 276 天, 47 分钟 之前
Tuesday, June 09, 2009 12:54:22 PM GMT Monday, June 08, 2009 2:21:30 PM GMT
Entity Framework 学习高级篇1—改善EF代码的方法(上)   本节,我们将介绍一些改善EF代码的相关方法,如NoTracking,GetObjectByKey, Include等。 l         MergeOption.NoTracking 当我们只需要读取某些数据而不需要删除、更新的时候,可以指定使用MergeOption.NoTracking的方式来执行只读查询(EF默认的方式是AppendOnly)。当指定使用NoTracking来进行只读查询时,与实体相关的引用实体不会被返回,它们会被自动设置为null。因此,使用NoTracking可以提升查询的性能。示例代码如下: [Test]         publicvoid NoTrackingTest()         {             using (var db = newNorthwindEntities1())             { //针对Customers查询将使用MergeOption.NoTracking                 db.Customers.Merge... (more)
类别: Foundation | 点击: 0 | 评论 | | 源: www.cnblogs.com
标签: Entity Framework, 博客园
1
臭虫

【翻译】实体框架中的POCO支持 - 第二部分 - 复杂类型,延迟装载和显式装载-思归呓语

dotlivedotlive 发表于 284 天, 11 小时, 54 分钟 之前
Sunday, May 31, 2009 6:37:47 AM GMT Sunday, May 31, 2009 3:14:51 AM GMT
【翻译】实体框架中的POCO支持 - 第二部分 - 复杂类型,延迟装载和显式装载 【原文地址】POCO in the Entity Framework : Part 2 – Complex Types, Deferred Loading and Explicit Loading 【原文发表日期】 28 May 09 09:03 AM 在上星期的贴子《POCO Experience in Entity Framework》 (实体框架中的POCO体验)中,我讨论了Entity Framework 4.0中POCO支持的基本。在这个贴子里,我将讨论与POCO相关的另外几个方面。 复杂类型(Complex Types) POCO中的复杂类型支持跟常规的基于EntityObject的实体中的复杂类型支持一样。你要做的就是将它们声明为POCO类,然后在你的POCO实体中使用和声明基于它们的属性。 作为例子,这里是一个InventoryDetail复杂类型,代表我的Product实体的一个部分:publicclassInventoryDetail { publicInt16 UnitsInStock... (more)
类别: Foundation | 点击: 2 | 评论 | | 源: blog.joycode.com
标签: Entity Framework, Poco
1
臭虫

【翻译】实体框架中的http://blog.joycode.com/saucer/archive/2009/05/28/115587.aspx支持 - 第一部分 - 体验-思归呓语

dotlivedotlive 发表于 284 天, 11 小时, 55 分钟 之前
Sunday, May 31, 2009 6:37:47 AM GMT Sunday, May 31, 2009 3:13:59 AM GMT
【翻译】实体框架中的POCO支持 - 第一部分 - 体验 【译者按】 Entity Framework 1.0 发布也有一段时间了,但感觉用的人很少。其中一个很大的原因,也许就是不支持POCO。要知道,Entity Framework 1.0的做法是让你的实体从EF的基类继承而来,这对很多人,特别是崇尚DDD的人来说,那是一副难以下咽的药啊。曾有微软开发人员提供了一个 POCO Adapter,但那究竟不是正规的做法。Visual Studio 2010 和 .NET 4.0 提供了许许多多的新特性,真是让人激动,向往,大有一种回到.NET 1.0 刚出来时的感觉。春天啊(应该是夏天啊),你终于回来了(虽然早晨/晚上还是unseasonably冷)。其中的Entity Framework 4.0版本将提供POCO支持,对很多人来说,这是开始使用Entity Framework的时候了。ADO.NET 团队博客上贴出了一些关于EF和POCO的贴子,非常值得一读。 【原文地址】POCO in the Entity Framework: Part 1 - The Experience 【原文发表日期】 ... (more)
类别: Foundation | 点击: 3 | 评论 | | 源: blog.joycode.com
标签: Entity Framework, Poco
1
臭虫

ADO.NET team blog : POCO in the Entity Framework : Part 2 – Complex Types, Deferred Loading and Explicit Loading

dotlivedotlive 发表于 284 天, 12 小时, 2 分钟 之前
Monday, June 08, 2009 1:40:19 PM GMT Sunday, May 31, 2009 3:06:57 AM GMT
POCO in the Entity Framework : Part 2 – Complex Types, Deferred Loading and Explicit LoadingPublished 28 May 09 09:03 AM | dpblogs  In my post last week on the POCO Experience in Entity Framework, I covered the fundamentals of POCO support in Entity Framework 4.0. In this post, I’ll cover a few more aspects related to POCO.Complex Types Complex Types are supported in POCO just like they are with regular EntityObject based entities. All you have to do is declare your complex types as POCO classes and ... (more)
类别: Foundation | 点击: 3 | 评论 | | 源: blogs.msdn.com
标签: Entity Framework, Poco
1
臭虫

ADO.NET team blog :Entity Framework文档更新

xgluxvxgluxv 发表于 293 天, 12 小时, 8 分钟 之前
Monday, May 25, 2009 4:41:42 AM GMT Friday, May 22, 2009 3:00:10 AM GMT
随着visual studio 2010 beta1的发布,Entity Framework有了许多新的功能和特性,文档也有了进一步的更新 (more)
类别: Foundation | 点击: 7 | 评论 | | 源: blogs.msdn.com
标签: Entity Framework
1
臭虫

Entity Framework在.NET 4 和Visual Studio 2010中的更新

xgluxvxgluxv 发表于 302 天, 13 小时, 16 分钟 之前
Thursday, May 14, 2009 2:01:44 AM GMT Wednesday, May 13, 2009 1:52:16 AM GMT
Since we shipped the .NET Framework 3.5 SP1 and Visual Studio 2008, we’ve been working on the next version of the Entity Framework.  During this release, we’ve been focused on 2 key areas:  1) enabling scenarios with the Entity Framework that you’ve told us to focus on and 2) laying the groundwork for Reporting Services to build on top of the Entity Framework.  In order to deliver on the first focus, enabling the scenarios you care about, we needed to provide early views into our designs (something we ha... (more)
类别: Foundation | 点击: 7 | 评论 | | 源: blogs.msdn.com
标签: .NET 4, Entity Framework, visual studio 2010
1
臭虫

CodeProject: Implementing Audit Trail using Entity Framework Part -1 . Free source code and programming help

xgluxvxgluxv 发表于 348 天, 12 小时, 6 分钟 之前
Thursday, April 02, 2009 2:28:26 AM GMT Saturday, March 28, 2009 3:02:15 AM GMT
Introduction Entity framework keeps track for those entire objects and relationships which have been deleted, added and modified in the container. EF keeps the state of the object and holds the necessary change-information and all these track information for each object or relationship resides as “objectStateEntry”. Using “ObjectStateManager” one can access all these change-information like object-state (added/modified/deleted), modified properties, original and current values and can easily do audit tr... (more)
类别: Web Form | 点击: 1 | 评论 | | 源: www.codeproject.com
标签: Audit Trail, Entity Framework
1
臭虫

Entity Framework Tutorial - Paul Gielens:ThoughtsService

adminadmin 发表于 351 天, 13 小时, 43 分钟 之前
Saturday, March 28, 2009 3:28:38 AM GMT Wednesday, March 25, 2009 1:26:02 AM GMT
Entity Framework Tutorial You don’t know anything about the Entity Framework or didn’t get around installing it on your box and pour the Northwind data onto a screen? This book could give you a great jumpstart into the Entity Framework. There are a lot of Entity Framework books coming your way, so why should you buy a copy of the Entity Framework Tutorial by Joydip Kanjilal? Packt was so kind to send me a copy, but you can always try to get a free copy as a blogger, reviewer or educator. Otherwise I can... (more)
类别: Web Form | 点击: 3 | 评论 | | 源: weblogs.asp.net
标签: Entity Framework