Welcome to MSDN Blogs Sign in | Join | Help

Marcelo's WebLog

Improving the world one entity at a time
Model transformation with LINQ to XML

Mike Taulty has a very nice post on timestamps and concurrency in the Entity Framework. Something that I very much like, however, is how he uses all the information available in a single .edmx file, which includes the storage, mapping and conceptual models, to pull information from the storage level and make it relevant at the conceptual level. You can imagine populating other annotations to be consumed or doing similar massaging as necessary.

And all with a concise, declarative bit of programming. Nice work!

ADO.NET Data Services plug: yes, when a service is based on an Entity Framework ObjectContext, custom annotation will flow through and clients will be able to see them when they issue a request for service-root/$metadata.

 

Posted: Thursday, June 26, 2008 11:28 AM by marcelolr

Comments

No Comments

New Comments to this post are disabled
Page view tracker