|
|
1
4
|
|
|
2
2
你可以尝试这样的想法:
它将方法“ExecuteEscalarCommand”添加到ObjectContext。
|
|
|
3
-1
您可以对表(如products)使用查询,并确保您没有选择表中的任何列,如上面的代码所示。它不高雅,但很实用。 |