Is it possible to use/access scalar functions with LINQ to SQL?

前端 未结 2 1701
一向
一向 2021-01-02 16:41

We have scalar functions in our database for returning things like \"number of tasks for a customer\" or \"total invoice amount for a customer\".

We are experiment

2条回答
  •  轮回少年
    2021-01-02 17:27

    I believe this MSDN documentation is what you're after (as part of this wider topic of calling user-defined functions in LINQ to SQL). Can't say I've done it myself, but it sounds right...

提交回复
热议问题