IC窗口
community.icburner.com
Sign in
|
Join
|
Help
首页
精华文章
媒体
问答
维基百科
圈子
精华
VS2010学习
»
All Tags
»
Entity Framework
(
RSS
)
Browse by Tags
VS2010学习
Home
Syndication
RSS for Posts
Atom
Email Notifications
Go
Recent Posts
Simplifying Entity Framework: Data-Driven Design
Improvements to the Generated SQL in .NET 4.0 Beta1
Code Only Enhancements
Structural Annotations - One Pager
Entity Framework 4.0 and Fetching Strategies
Tags
C#
DDD
EF4
Entity Framework
Entity Framework 4.0
Entity Framework Feature CTP1 for .NET 4.0
Entity Framework v2
IoC
jQuery
Kigg
Kigg系列文章
LINQ to Entities
LINQ to SQL
MVC
MVC2
NerdDinner
Oxite
POCO
T4
TDD
Test
Tip
Unity
VS2010
WPF
View more
Archives
December 2009 (8)
November 2009 (1)
October 2009 (18)
September 2009 (4)
August 2009 (24)
July 2009 (70)
June 2009 (180)
EF4
Entity Framework 4.0
Entity Framework Feature CTP1 for .NET 4.0
Entity Framework v2
IoC
Kigg
Kigg系列文章
LINQ to Entities
LINQ to SQL
MVC
POCO
T4
Test
Tip
Unity
VS2010
Simplifying Entity Framework: Data-Driven Design
Posted by Oleg Sych December 27, 2009 As described on MSDN , ADO.NET Entity Framework is a set of technologies that enables developers to work with data in the form of domain-specific objects and properties, such as customers and customer addresses...
Published
2009/12/29 10:47
by
革命
Filed under:
Entity Framework
,
Entity Framework 4.0
Improvements to the Generated SQL in .NET 4.0 Beta1
One of the things that we are continuously working on improving is the quality and the readability of the SQL generated when querying using the Entity Framework. We have already made some improvements in .NET 4.0 Beta 1, and we are working on more for...
Published
2009/8/8 14:15
by
革命
Filed under:
Entity Framework
,
EF4
,
Entity Framework v2
,
Entity Framework Feature CTP1 for .NET 4.0
Code Only Enhancements
Code Only There are currently two ways to get Entity Framework apps up and running, we call these Database First and Model First respectively. Database First has been with us since .NET 3.5 SP1, and involves reverse engineering an Entity Data Model from...
Published
2009/8/4 13:33
by
革命
Filed under:
Entity Framework
,
Entity Framework v2
,
Entity Framework Feature CTP1 for .NET 4.0
Structural Annotations - One Pager
In V1 of the Entity Framework it is possible to annotate a schema using attributes declared in another XSD. However XML attributes are a very limited form of annotation. It would be better if we could annotate using full elements. This is what we are...
Published
2009/8/3 10:13
by
革命
Filed under:
Entity Framework
Entity Framework 4.0 and Fetching Strategies
I have spent a fair amount of time already trying to improve my experience with the Entity Framework with versions 1.0, 2.0 and 3.0. Well that’s a bit of joke really because there was and never will be versions 2.0 or 3.0 for the Entity Framework with...
Published
2009/7/29 21:31
by
革命
Filed under:
Entity Framework
,
EF4
,
Entity Framework v2
N-Tier Application Patterns
In my previous article, I described a foundation on which you can build successful n-tier applications, focusing mainly on anti-patterns to avoid. There are many issues to consider before making decisions about the design of an n-tier application. In...
Published
2009/7/29 0:49
by
革命
Filed under:
Entity Framework
,
POCO
,
Entity Framework v2
EF v2 and Data Access Architecture Best Practices
David Hill, in his preface to the latest patterns & practices Architecture Guidance, jokes that the key to being a good architect is learning to answer "It depends" to most questions. In this article, I'll take that joke to heart. How...
Published
2009/7/29 0:46
by
革命
Filed under:
Entity Framework
,
EF4
,
Entity Framework v2
Customizing T4 Templates
The whole point of us using T4 for code-generation is that it makes it easy to customize the generated entities. A good example might be to support some sort of validation when setting string properties. To illustrate lets re-use the code from the recent...
Published
2009/7/27 0:55
by
革命
Filed under:
Entity Framework
,
EF4
,
T4
Checking out one of the new stored procedure features in EF4
I certainly have not yet explored the depths of EF4 to the same extent as I have with the current version and I have a lot of discoveries ahead of me. Thanks to a tweet this morning by Zekq , I finally saw one of the promised improvements to EF’s stored...
Published
2009/7/23 23:20
by
革命
Filed under:
Entity Framework
,
EF4
,
Entity Framework v2
What's New and Cool in Entity Framework 4.0
Last summer Microsoft released the first version of the ADO.NET Entity Framework as part of .NET 3.5 Service Pack 1. It builds on the concept of Dr. Peter Chen’s Entity Relationship Model by introducing a conceptual model, called the Entity Data Model...
Published
2009/7/16 21:48
by
革命
Filed under:
Entity Framework
,
EF4
修复Kigg使用EF时删除一个文摘报错
当我们设置Kigg底层使用Entity Framework提供者时,无法删除一个文摘。对StoryService.cs文件进行如下修改: public virtual void Delete(IStory theStory, IUser byUser) { Check.Argument.IsNotNull(theStory, "theStory"); Check.Argument.IsNotNull(byUser...
Published
2009/7/13 16:03
by
革命
Filed under:
Entity Framework
,
Kigg
快速配置Kigg底层使用Entity Framework仓储
默认情况下,Kigg的web.config中配置底层使用LINQ to SQL仓储进行数据库操作。Kigg 2.5引入了仓储提供者概念,当前支持使用Entity Framework仓储、MySQL仓储。以下是快速配置Kigg使用Entity Framework仓储的实践: 第一步,将安装目录下SharedFiles子目录中的EF数据模型文件(CSDL、SSDL、和MSL)拷贝到App_Data目录下去。包括: DomainObjects.csdl (此文件应该只读,别修改它) DomainObjects...
Published
2009/7/11 9:19
by
革命
Filed under:
Entity Framework
,
Kigg系列文章
LINQ to SQL与LINQ to Entities场景之对照
MSDN上最近发表了一篇Elisa Flasko著的文章,比较了LINQ to SQL与LINQ to Entities适用的场景: Introducing LINQ to Relational Data http://msdn2.microsoft.com/en-us/library/cc161164.aspx 作者指出,LINQ to SQL主要的应用场景是针对微软SQL Server数据库的快速开发,这些应用的对象模型与数据库中数据定义的结构间非常类似,几乎有一一对应的映射关系,这样你可以使用LINQ...
Published
2009/7/11 0:04
by
革命
Filed under:
Entity Framework
,
LINQ to Entities
,
LINQ to SQL
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...
Published
2009/7/2 0:32
by
革命
Filed under:
Entity Framework
,
MVC
ASP.NET MVC, Entity Framework, Modifying One-to-Many and Many-to-Many Relationships
Building on my previous article , which looked at adding data with one-to-many and many-to-many relationships via the Entity Framework, here's a look at how to modify that data within an ASP.NET MVC application. To recap, I am in the process of migrating...
Published
2009/7/2 0:04
by
革命
Filed under:
Entity Framework
,
MVC
1
2
3
4
5
Next >
...
Last »