.Context.tt Error when splitting Entities and POCO Objects

时间:2015-09-01 22:01:06

标签: c# entity-framework entity-framework-5 entity-framework-6 poco

I followed this tutorial http://www.allenconway.net/2013/01/separating-entity-framework-poco.html for splitting my Entities and POCO into seperate projects. But every single time I get an error in my .context.tt for my DbSet Objects:

Error   3   The type or namespace name could not be found (are you missing a using directive or an assembly reference?) 

I have changed the namespace for the .context.tt I tried adding a using statement as well. I also added a reference as well.

any idea how I can resolve this ?

1 个答案:

答案 0 :(得分:0)

我向后引用了这些项目。确保你有正确的参考资料。

相关问题