|
|
browse.develop.com
Browse.develop.com is a community that was established to collect and
organize valuable web information. Our technical staff have selected and
indexed information and courses that they feel will help you stay
current on best practices across the SDLC.
|
5 Articles match "Entity Framework","Magazine"
|
The Latest from DevelopMentor
|
MORE
|
|
Trackable DTO’s: Taking N-Tier a Step Further with EF4
Not long ago my friend and colleague Richard Blewett wrote a blog post on Self-Tracking Entities in EF4, in which he questioned the service-orientation of Self-Tracking Entities in EF4. While STE’s are placed in an assembly that does not reference the Entity Framework, the way in which change state is preserved in an STE is overly complex because it tries make it easier for EF to transmit those changes to the ObjectStateManager on the service side. Fast forward to Entity Framework 4.0 Download code for this post here. and Visual Studio 2010. NET client.
Tony and Zuzana's World
- Friday, February 19, 2010
EF 4.0 N-Tier Support: Take 2
Beta 2 , the Entity Framework team put out a second CTP for Entity Framework 4.0, which includes enhancements to self-tracking entities. As the name implies, self-tracking entities know how to track their own state , so that it can be transmitted across service boundaries in an n-tier application. About a year ago I wrote an article for MSDN Magazine outlining one possible solution to this problem. Entity Framework 4.0 Add a new item to the project, selecting "ADO.NET Entity Data Model," naming it Northwind.edmx.
Tony and Zuzana's World
- Thursday, November 12, 2009
T4 POCO Templates for L2S and EF
In my MSDN Magazine article on SOA Data Access I recommend exposing Data Transfer Objects (DTOs) from the Data Access Layer (DAL). Having said all that, what tools are available to automatically generate POCO entities from the database? There were templates galore for various frameworks, such as n-tiers, NHibernate, CSLA, and PLINKO. However, I did find a template by Damien Guard that serves as a wholesale replacement for LINQ to SQL entities. LINQ to SQL has the capability of using POCO’s instead of L2S entities. The answer: None. Enjoy.
Tony and Zuzana's World
- Friday, January 16, 2009
|
-
|
The Best from DevelopMentor
|
MORE
|
-
Better N-Tier Concurrency Management for the Entity Framework
I just wrote an article for MSDN Magazine (due out in December) about developing n-tier applications for both LINQ to SQL and the Entity Framework. While researching the topic, I noticed a certain awkwardness with the Entity Framework API when it came to managing concurrency with a timestamp fields, as compared with LINQ to SQL. The Entity Framework, on the other hand, requires attaching the original unmodified entity, then calling ApplyAllChanges, passing in the modified entity. Although v.2 Order UpdateOrder(DTO. Enjoy!
Tony and Zuzana's World
- Saturday, November 8, 2008
-
EF 4.0 N-Tier Support: Take 2
Beta 2 , the Entity Framework team put out a second CTP for Entity Framework 4.0, which includes enhancements to self-tracking entities. As the name implies, self-tracking entities know how to track their own state , so that it can be transmitted across service boundaries in an n-tier application. About a year ago I wrote an article for MSDN Magazine outlining one possible solution to this problem. Entity Framework 4.0 Add a new item to the project, selecting "ADO.NET Entity Data Model," naming it Northwind.edmx.
Tony and Zuzana's World
- Thursday, November 12, 2009
-
Hot Off the Presses: SOA Data Access!
I wrote an article for the December issue of MSDN Magazine, which has just hit the streets: The title is: Flexible Data Access With LINQ To SQL And The Entity Framework , and you can download the accompanying code here. The purpose of the article is to provide a practical approach for developing real-world data-driven applications with either LINQ to SQL or the Entity Framework that use a layered, n-tier architecture. This is the direction where I think the Entity Framework, which is considering n-tier design options , team need to be headed.
Tony and Zuzana's World
- Thursday, December 4, 2008
-
T4 POCO Templates for L2S and EF
In my MSDN Magazine article on SOA Data Access I recommend exposing Data Transfer Objects (DTOs) from the Data Access Layer (DAL). Having said all that, what tools are available to automatically generate POCO entities from the database? There were templates galore for various frameworks, such as n-tiers, NHibernate, CSLA, and PLINKO. However, I did find a template by Damien Guard that serves as a wholesale replacement for LINQ to SQL entities. LINQ to SQL has the capability of using POCO’s instead of L2S entities. The answer: None. Enjoy.
Tony and Zuzana's World
- Friday, January 16, 2009
-
Trackable DTO’s: Taking N-Tier a Step Further with EF4
Not long ago my friend and colleague Richard Blewett wrote a blog post on Self-Tracking Entities in EF4, in which he questioned the service-orientation of Self-Tracking Entities in EF4. While STE’s are placed in an assembly that does not reference the Entity Framework, the way in which change state is preserved in an STE is overly complex because it tries make it easier for EF to transmit those changes to the ObjectStateManager on the service side. Fast forward to Entity Framework 4.0 Download code for this post here. and Visual Studio 2010. NET client.
Tony and Zuzana's World
- Friday, February 19, 2010
|
|
|