Breeze: Navigation property is not present in client side, while the Metadata has the property defined.

I’m using breeze and WebApi 2. A navigation property is serialized OK, but is not present on the client side.

Solution: in OnModelCreating of the datacontect set the modelbuilder:


protected override void OnModelCreating(DbModelBuilder modelBuilder)



.HasRequired<MeetingSessionStatusPoco>(m => m.Status);



Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>