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
Post a Comment