locked
Access to Entity Framework with WCF RRS feed

  • Question

  •  

    How can I uses classes on the mobile device generated by the ado.net entity framework?

    Do I need to write all classes again or can I assign the attributes [DataContract], [DataMember] needed for WCF to partial classes?

    What is the right way to interact with the ado.net entity model from a connected mobile device?

     

    thx for any help on this, Michael

    Wednesday, November 21, 2007 9:45 PM

Answers

  • Hi,

    1.) you can't use generated classes from the entity framework on a mobile device. It isn't supported yet.
    2.) As related to 1), not supported.
    3.) Create a WCF Service (supported by CF 3.5) or WebService as an endpoint. This then can use your entity framework then.

    Cheers, Peter
    Thursday, November 22, 2007 5:10 AM