New Posts New Posts RSS Feed: Devforce
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login


 Post Reply Post Reply
francoisw View Drop Down

Joined: 19-Dec-2011
Location: South Africa
Posts: 2
Post Options Post Options   Quote francoisw Quote  Post ReplyReply Direct Link To This Post Topic: Devforce
    Posted: 26-Oct-2012 at 2:21am
Breeze is briljant. Well done and thank you for this great library.
We are currently using devforce with silverlight (datacentre version) and have plenty of models already generated with it. What would be the best approach of exposing the devforce entities to breeze?
Back to Top
ting View Drop Down

Joined: 27-Mar-2009
Location: San Francisco
Posts: 427
Post Options Post Options   Quote ting Quote  Post ReplyReply Direct Link To This Post Posted: 26-Oct-2012 at 8:02pm
Hi Francois,

Glad you like it!

Currently, the best way to hook up your data model to Breeze is to generate regular Entity Framework entities from the EDMX and expose the EF ObjectContext (or DbContext if Code First) through the Breeze EFContextProvider (as we do in all the samples).

Exposing DevForce entities directly to Breeze is currently not supported. The key use case for this would be to share the same server-side interception logic between the two clients (because the .NET logic on the model cannot be consumed by the JavaScript client). If this is important to you, please vote up the feature on the Breeze feedback page:

Hope this helps and thanks for the feedback.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down