How to properly send action parameter along with query in BreezeJs

前端 未结 2 1177
别那么骄傲
别那么骄傲 2021-01-02 00:45

Currently I am calling all data queries as showed on BreezeJs docs / examples:

getEntityList = function (predicate) {
  var query = new entityModel.EntityQ         


        
2条回答
  •  情歌与酒
    2021-01-02 01:03

    UPDATE: AS OF BREEZE v.0.76.1 THIS IS NO LONGER THE CORRECT ANSWER. BREEZE NOW SUPPORTS PARAMETERS ON QUERIES. SEE THE "withParameters" QUERY CLAUSE.

    Support for parameterized queries was added to Breeze thanks in part to this question on SO. Thank you.

    This answer used to describe a workaround which is no longer needed. I have revised my answer, eliminating my description of that workaround.

提交回复
热议问题