Save POCO class object using snapshot approach in EF 4 RRS feed

  • Question

  • I am using N-tier architecture (Silverlight client ,WCF service and EF4 in DAL ). Once data server by WCF to Silverlight client using EF (Code Only). It distroy ObjectContext and not keeping track changed by client. It is Disconnected approach. After change made by client to POCO (plain classes) sumbit to WCF and EF. At this time ObjectContext created and attached object but after calling SaveChanges. It dosn't save or update. If i use setModifed but it applies to all records in collection.

    How to update selectively using EF 4. I don't want to use Self tracking framework because i use custom POCO and Code Only feature to map (configure) them ?


    • Moved by Jonathan Aneja -- MSFT Thursday, June 24, 2010 11:08 PM (From:ADO.NET Entity Framework and LINQ to Entities (Pre-Release))
    Wednesday, June 23, 2010 8:18 AM


All replies