javascript - BreezeJS Selecting ComplexType properties -
i running issue breeze , durandal leading me believe may bug breeze or don't know right syntax.
here model (given address simple complextype class)
public class person { public int id {get;set;} public string name {get;set;} public address myaddress {get;set;} }
and on front-end breeze js, have following:
entityquery.from('person').select('id,name').orderby('id');
the above line works perfect, if have:
entityquery.from('person').select('id,name,myaddress').orderby('id');
i error message error retreiving data. deferred not defined
it looks though, can't have complextype property in select statement. else running issue? in advance.
edit: may 8, 2013 - fixed in v 1.3.3
i've confirmed bug - query syntax correct ( not need expand complex types). try corrected in next release , post here when gets in. , repro :)
Comments
Post a Comment