BreezeJS Predicates on 2nd level expanded entities

前端 未结 1 1719
轻奢々
轻奢々 2021-01-22 13:36

A similar question has been asked on this matter: Breeze work-around for multi valued property queries

Well, that works for one-one-many. i.e parent entity may have one

1条回答
  •  离开以前
    2021-01-22 13:48

    Given the predicate:

    var predicateBarcode = Predicate.create('units','any','barcodes','any','barcode', 'eq', searchText());
    

    I have added the MaxAnyAllExpressionDepthproperty to my breeze controller :

    [BreezeController(MaxAnyAllExpressionDepth = 2)]
    

    Thanks to @lnu..

    0 讨论(0)
提交回复
热议问题