The default DbConfiguration instance was used before the 'EntityFrameworkConfiguration' type was discovered

前端 未结 3 1387
情歌与酒
情歌与酒 2021-01-11 17:09
 public class EntityFrameworkConfiguration : DbConfiguration
    {
        public EntityFrameworkConfiguration()
        {
            this.SetModelCacheKey(ctx =>         


        
3条回答
  •  一生所求
    2021-01-11 18:06

    If you are using Code-based configuration, try updating the config file thusly:

    
        ...Your EF config...
    
    

提交回复
热议问题