|
|
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. Download code for this post here .
If you look closely at the ObjectChangeTracker class that is generated for
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. Following the release of Visual Studio 2010 and .NET NET 4.0
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. These objects should be Plain Old CLR Objects (POCOs) that are Persistent Ignorant (PI), eschewing traces of any particular persistence technology. (How’s How’s that for an alphabet soup of acronyms?!)
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 L2S has an overloaded Attach method that accepts a bool asModified parameter indicating the presence of a timestamp field used for concurrency.
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. Following the release of Visual Studio 2010 and .NET NET 4.0
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. Developers currently face daunting challenges when it comes to developing these types of applications, even though it is these types of apps are the bread and butter of what most developers do on a day-to-day basis.
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. These objects should be Plain Old CLR Objects (POCOs) that are Persistent Ignorant (PI), eschewing traces of any particular persistence technology. (How’s How’s that for an alphabet soup of acronyms?!)
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. Download code for this post here .
If you look closely at the ObjectChangeTracker class that is generated for
Tony and Zuzana's World
- Friday, February 19, 2010
|
|
|