Declaring a controller-level instance of the database context

后端 未结 0 427
我在风中等你
我在风中等你 2020-12-02 13:09

In a controller, is there any difference between declaring a database context instance like this:

public class MyController : Controller
{
    private readonl         


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