How to select a constant value in EFCore 3.1 without custom sql

前端 未结 0 1473
北海茫月
北海茫月 2021-02-05 13:20

I would like EFCore to generate the equivalent of "select name, color, \'notapplicable\' as position from table

I have multiple entities in a context where I need to

相关标签:
回答
  • 消灭零回复
提交回复
热议问题