9eFish - 带有 LINQ to SQL 标签的文章
1
臭虫

Technical Jargon » Linq to Sql and ASP.NET MVC – DataContext Per Request

xgluxvxgluxv 发表于 37 天, 22 小时, 44 分钟 之前
Wednesday, February 10, 2010 3:20:57 AM GMT Monday, February 01, 2010 4:29:10 PM GMT
This is the first in a series of posts about using Linq to Sql with ASP.NET MVC. Part 1 – DataContext Per RequestPart 2 – AutoCommit and the RoutePreParser When using an ORM tool within a web application, it’s often common to scope a unit of work to the lifetime of an HTTP Request. If you’re using Linq to Sql and ASP.NET MVC, you can achieve this by using an Inversion of Control container in conjunction with an ActionFilter. For this example, I’m going to be using the StructureMap IoC container al... (more)
类别: Foundation | 点击: 1 | 评论 | | 源: www.jeremyskinner.co.uk
标签: asp.net mvc, LINQ to SQL
1
臭虫

使用Linq to Sql 或者 EF加快数据访问速度

adminadmin 发表于 134 天, 5 小时, 6 分钟 之前
Friday, November 06, 2009 8:16:49 AM GMT Wednesday, October 28, 2009 10:06:35 AM GMT
Speeding up data access by using Linq to SQL or EF 26 Oct, 2009  LINQ, c#, entity framwork, sql Recall that LINQ based object relational mappers (ORM) use expression trees to effectively translate your C# (or other language) LINQ code into SQL. Many DBA’s and developers that don’t fully understand this technology are often quick to discredit it. I’m going to show how significant performance, simplicity, and clarity can be gained by using Linq to SQL. A recent DBA asked me the question ... (more)
类别: DB | 点击: 0 | 评论 | | 源: www.ytechie.com
标签: LINQ to SQL
1
臭虫

CodeProject: Linq to SQL - 多对多关系.

carolhaozicarolhaozi 发表于 204 天, 13 小时, 30 分钟 之前
Tuesday, August 25, 2009 1:31:35 AM GMT Wednesday, August 19, 2009 1:42:45 AM GMT
Download source - 221 KbIntroduction A many to many relationship is a bi-directional one to many relationship between two entities defined by an intersection table with a one-to-many relationship to each entity. Most all developers would consider many to many relationships a fairly standard database design. However, LINQ to SQL offers no native support for these types of relationships. PLINQO makes it very simple to work with many to many relationships. We are going to walk you through how th... (more)
类别: Foundation | 点击: 1 | 评论 | | 源: www.codeproject.com
标签: LINQ to SQL
1
臭虫

CodeProject: LINQ to SQL for the Beginner.

xgluxvxgluxv 发表于 234 天, 13 小时, 2 分钟 之前
Wednesday, July 22, 2009 6:05:06 AM GMT Monday, July 20, 2009 2:10:27 AM GMT
Download source code - 21.7 KBIntroduction One of the more popular variants of LINQ is LINQ to SQL, which takes the concepts of LINQ and extends them to working with collections of data from a SQL Server database. LINQ to SQL adds additional concepts, objects, and methods for not only retrieving sets of data from a database, but also inserting, updating, and deleting data. I'll show you the basics here. This article describes a series of steps for retrieving data from a SQL Server database to be display... (more)
类别: Foundation | 点击: 0 | 评论 | | 源: www.codeproject.com
标签: LINQ to SQL
1
臭虫

LINQ to SQL在.NET 4.0里的更新 » DamienG

dotlivedotlive 发表于 280 天, 12 小时, 16 分钟 之前
Friday, June 05, 2009 1:28:41 PM GMT Thursday, June 04, 2009 2:56:45 AM GMT
01Jun2009LINQ to SQL changes in .NET 4.0 People have been asking via Twitter and the LINQ to SQL forums so here’s a list I put together on a number of the changes made for 4.0.Change listPerformanceQuery plans are reused more often by specifically defining text parameter lengths Identity cache lookups for primary key with single result now includes query.Where(predicate).Single/SingleOrDefault/First/FirstOrDefault Reduced query execution overhead when DataLoadOptions specified (cache lookup considers Da... (more)
类别: Foundation | 点击: 1 | 评论 | | 源: damieng.com
标签: .NET 4, LINQ to SQL
1
臭虫

Linq-to-SQL vs Linq-to-Entities : Revisited

carolhaozicarolhaozi 发表于 308 天, 13 小时, 7 分钟 之前
Thursday, May 07, 2009 7:35:12 AM GMT Thursday, May 07, 2009 2:06:06 AM GMT
After 2 months of nothing but L2E, I feel I can give a decent comparison Most likely you have read more than just a few of these comparisons and are tired of the debate. I too disliked L2E from the get-go but decided that my opinion was not totally grounded and that I should really understand L2E before I crap on it, so, I decided to do an entire project at work with it and get down to the nuts and bolts. Now, 2 months, a lot of frustration and some happy customers lat... (more)
类别: Foundation | 点击: 2 | 评论 | | 源: naspinski.net
标签: Linq to Entitie, LINQ to SQL
1
臭虫

LINQ to SQL快速上手 step by step

dotlivedotlive 发表于 323 天, 22 小时, 39 分钟 之前
Wednesday, April 22, 2009 1:11:06 AM GMT Tuesday, April 21, 2009 4:34:18 PM GMT
最近接连遇到几个朋友问我同一个问题,就是关于.NET平台上ORM框架的选择。我想在这个讲求效率的时代,谁也不想手写SQL或存储过程去访问数据库了。大家都知道,在Java平台上,ORM这一块基本是Hibernate的天下。当然,相对轻量级的iBatis也有不错的表现。 不过谈到.NET平台,ORM框架似乎相对混乱了点。很多朋友问我的时候,往往会这样问:NHibernate、NBear和Castle该选择哪个?而当我反问:为什么不适用微软自带的Linq to Sql呢?对方经常会迷茫和不解 (more)
类别: DB | 点击: 4 | 评论 | | 源: www.cnblogs.com
标签: LINQ to SQL, step by step