Association Table data with breeze and entity framework -


i have entity framework database first set , i'm having issues getting data table ef treats association because it's navigation property. have survey table eventid(pk), facilityid, exitdate, , status. have surveycategories table categoryid(pk), description , survcat table has surveyid , categoryid foreign keys. can data other related tables don't use middle table survcat, following documentation breeze site navigation properties cannot loaded surveycategories array in each survey object. checked metadata , it's showing navigation property nothing code:

var query = entityquery.from('surveys')             .where("facilityid", "eq", whereclause)             .skip(currentpage * 5).take(5)             .expand("facility")             .expand("surveycategories")             .expand("surveycite")             .expand("surveydl")             .orderby(orderby.survey)             .inlinecount(true); 

any or links appreciated.

i think answer other question can tu solve problem: error loading related entities on demand (entityaspect.loadnavigationproperty()).

the n n relations not supported in breeze, have use intermediate entity work this.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -