Visual studio 2015 如何解决错误2062:“;未指定映射…”;在没有持久数据的项目中?

Visual studio 2015 如何解决错误2062:“;未指定映射…”;在没有持久数据的项目中?,visual-studio-2015,entity-framework-6,Visual Studio 2015,Entity Framework 6,我已经创建了一个实体数据模型。我在Visual Studio中收到以下警告: Error 2062: No mapping specified for instances of the EntitySet and AssociationSet in the EntityContainer Model1Container. 错误2062:未为EntityContainer Model1容器中的EntitySet和AssociationSet实例指定映射。 我知道我可以通过创建数据库并将实体映射到数

我已经创建了一个实体数据模型。我在Visual Studio中收到以下警告:

Error 2062: No mapping specified for instances of the EntitySet and AssociationSet in the EntityContainer Model1Container. 错误2062:未为EntityContainer Model1容器中的EntitySet和AssociationSet实例指定映射。 我知道我可以通过创建数据库并将实体映射到数据库中的表来解决此警告。然而,我的项目不需要持久数据,因此数据库似乎是多余的。那么,我如何解决该警告