Print Page | Close Window

Devforce

Printed From: IdeaBlade
Category: Breeze
Forum Name: Community Forum
Forum Discription: Build rich JavaScript apps using techniques you already know
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=3744
Printed Date: 20-Nov-2019 at 9:11pm


Topic: Devforce
Posted By: francoisw
Subject: Devforce
Date Posted: 26-Oct-2012 at 2:21am
Hi,
 
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?
 
Regards,
Francois



Replies:
Posted By: ting
Date 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:
https://breezejs.uservoice.com/forums/173093-breeze-feature-suggestions

Hope this helps and thanks for the feedback.



Print Page | Close Window