Code First 数据库迁移错误 类型"Configuration"不是迁移配置类型

在使用Code First 是碰到 * 类型"Configuration"不是迁移配置类型 * 的错误。
过程是这样的:
PM> enable-migrations
No context type was found in the assembly 'BlogSolution'.
PM> enable-migrations -ContextTypeName "BlogSolution.Models.BlogConnection" -verbose -force
Using StartUp project 'BlogSolution'.
Using NuGet project 'BlogSolution'.
正在检查上下文的目标是否为现有数据库...
类型“Configuration”不是迁移配置类型。
PM> update-database -verbose -force
Using StartUp project 'BlogSolution'.
Using NuGet project 'BlogSolution'.
指定“-Verbose”标记以查看应用于目标数据库的 SQL 语句。
在程序集“BlogSolution”中未找到任何迁移配置类型。(在 Visual Studio 中,您可从程序包管理器控制台使用 Enable-Migrations 命令添加迁移配置。)

请帮忙看一下为什么会出现这种问题??

enable-migrations -ContextTypeName "EFDbContext" -ProjectName "Domain" -StartUpProjectName "WebUI" -ConnectionStringName "ApplicationServices"
开启迁移, EFDbContext 在Domain类库项目里 共同学习420660467

看看这个链接,是否可以帮助你
https://social.microsoft.com/Forums/zh-CN/6a194410-ecf0-4374-a849-367d8233871f/entityframework-enablemigrations-no-context-type-was-found-in-the-assembly?forum=adonetzhchs