Page 1 of 1
simple entity creation in solution with multiple projects (PostgreSQL)
Posted: Sun 30 Jun 2013 02:32
by zoog22
I can create my models just fine, but in the project (different from my models project) where I'm actually trying to instantiate the context, I can't find it.
I'm sorry this is very vague, I can include any code that may be needed. Is there an extra step I'm missing?
Thanks
Re: simple entity creation in solution with multiple projects (PostgreSQL)
Posted: Sun 30 Jun 2013 02:43
by zoog22
I just created it in the same project and it seems to be working fine. Is there something extra needed for it to be used across multiple projects in a solution?
Re: simple entity creation in solution with multiple projects (PostgreSQL)
Posted: Sun 30 Jun 2013 02:50
by zoog22
I can also reference it from my other non ASP.NET projects, so this seems to be directly related to my aspx.cs classes.
Re: simple entity creation in solution with multiple projects (PostgreSQL)
Posted: Wed 03 Jul 2013 13:49
by Shalex
Try using
global namespace alias:
Code: Select all
var obj = new global::MyNamespace.MyClass();
If this doesn't help, please
send us a small test solution so that we can reproduce the problem in our environment.