Moving a silverlight solution to Offline using sync framework RRS feed

  • Question

  • Hi

        I have a silverlight application which is already on live. I used Entity framework for database connectivity. And using Domain Service for communication with the Framework. Now When i tried to move the application for offline solutions using Sync framework, I faced an issue regarding dependencies. For Example if i have a table Employee and another table EmployeeAddress. In this case EmployeeAddress will be have a foreign key relationship with Employee. This relationship was defined in the metadata class till now. So Employee.EmployeeAddress instance will fetch me EmployeeAddress. Now when i tried to move my App to sync framework , and created the proxy classes in the client side.This relationship "Employee.EmployeeAddress" was not available. Is there somewhere im doing wrong? Please Help

    Wednesday, September 28, 2011 10:40 AM

All replies

  • are you using the Sync Framework toolkit?
    Thursday, September 29, 2011 7:34 AM
  • hi


    If you mean SyncSvcUtilHelper.exe as Sync Framework toolkit, Yes I used the same.  Why does it cause any problem?

    Thursday, September 29, 2011 9:21 AM
  • are you trying to use the entities you created in EF in Sync Framework? afaik, Sync Framework dont integrate OOTB with WCF Data Services, Entity Framework, etc...

    The Sync Toolkit actually creates its own entity classes.

    Friday, September 30, 2011 2:03 AM
  • Hi

        I'm not trying to use the EF in Sync Framework. But i was wondering why the entity classes generated by SF were not like EF. Using EF we have handled lots of dependency tables directly.. If i want EmployeeAddress of Employee

    We simply used




    Now in Sync framework that is not the case.. The Entity Classes doesn't show the relationships between the tables.


    Friday, September 30, 2011 5:26 AM