Entity Framework defaultConnectionFactory for MySQL

后端 未结 1 1680
轻奢々
轻奢々 2021-01-14 21:04

The below configuration works fine when I specify the connectionString name as a parameter to the base constructor. Because I want to be able to change the default provider

1条回答
  •  花落未央
    2021-01-14 21:33

    The name property of the connectionString must be the same as your context. This works fine:

      
        
      
      
        
        
          
        
      
    

    0 讨论(0)
提交回复
热议问题