Microsoft Developer Network >
Forums Home
>
Data Platform Development (Pre-release) Forums
>
ADO.NET Entity Framework and LINQ to Entities (Pre-Release)
>
Managing state tracking in Silverlight
Managing state tracking in Silverlight
- Will EF4 provide a solution for self-tracking entities (via proxy or other solution) in Silverlight ? Will there be a context-based solution or snapshot-based solution ? I would like to hear more regarding NTier support for situations where ObjectContext is not supported on all layers.
Thanks in advance,
Ido Flatow.
Answers
- Hello Ido,
We released self-tracking entities today as part of the Microsoft Entity Framework Feature CTP 1. You can learn more about what we released today here:
http://blogs.msdn.com/adonet/archive/2009/06/22/announcing-entity-framework-feature-ctp-1.aspx
And in particular about self-tracking entities here:
http://blogs.msdn.com/adonet/archive/2009/06/22/feature-ctp-walkthrough-self-tracking-entities-for-entity-framework.aspx
The version included in the Feature CTP 1 generates entity types that make use of WCF attributes such as OnDeserializing and OnDeserialized that are not present in Silverlight 2, and that therefore cannot be used in Silverlight 2 directly. However, having self tracking entities that can be compiled and run in Silverlight is one of our long term goals.
Thanks,
Diego
This posting is provided "AS IS" with no warranties, and confers no rights.- Marked As Answer byDiego B VegaMSFT, ModeratorTuesday, June 23, 2009 4:34 AM
- Hello,
FYI, the new version of Self-Tracking Entities that we shipped in the Feature CTP 2 work in Silverlight 3. Find more information and the download here:
http://blogs.msdn.com/adonet/archive/2009/11/04/ado-net-entity-framework-community-technology-preview-released.aspx
Thanks,
Diego
This posting is provided "AS IS" with no warranties, and confers no rights.- Marked As Answer byDiego B VegaMSFT, ModeratorFriday, November 06, 2009 7:01 PM
All Replies
- Hello Ido,
We released self-tracking entities today as part of the Microsoft Entity Framework Feature CTP 1. You can learn more about what we released today here:
http://blogs.msdn.com/adonet/archive/2009/06/22/announcing-entity-framework-feature-ctp-1.aspx
And in particular about self-tracking entities here:
http://blogs.msdn.com/adonet/archive/2009/06/22/feature-ctp-walkthrough-self-tracking-entities-for-entity-framework.aspx
The version included in the Feature CTP 1 generates entity types that make use of WCF attributes such as OnDeserializing and OnDeserialized that are not present in Silverlight 2, and that therefore cannot be used in Silverlight 2 directly. However, having self tracking entities that can be compiled and run in Silverlight is one of our long term goals.
Thanks,
Diego
This posting is provided "AS IS" with no warranties, and confers no rights.- Marked As Answer byDiego B VegaMSFT, ModeratorTuesday, June 23, 2009 4:34 AM
- Hello, Diego B Vega
You say '... and that therefore cannot be used in Silverlight 2' , do you mean that this can work with Silverlight 3 ?? - Hello,
FYI, the new version of Self-Tracking Entities that we shipped in the Feature CTP 2 work in Silverlight 3. Find more information and the download here:
http://blogs.msdn.com/adonet/archive/2009/11/04/ado-net-entity-framework-community-technology-preview-released.aspx
Thanks,
Diego
This posting is provided "AS IS" with no warranties, and confers no rights.- Marked As Answer byDiego B VegaMSFT, ModeratorFriday, November 06, 2009 7:01 PM

