Change the BussinessEntities namespace

Topics: General Discussion Forum
Mar 27, 2007 at 9:59 AM
We have a project where we use businessobjects from an external assembly.
How can we change the namespace which WSSF uses when it references BusinessEntites so that we can use the Recipies for creating repositories, but with our external business objects.

example, we want to use company.BusinessObjects namespace with the belonging assembly instead of <namespace>.BusinessEntities.

Mar 27, 2007 at 10:54 AM
How can we change the namespace which WSSF uses when it references BusinessEntites so that we can use the Recipies for creating repositories, but with our external business objects.
I think wssf busines entity usage depends not on namespaces. If you want to use custom busines entity project you have to mark it as busines entity project.

Unlock the wssf solution (right click on the solution node in VS.NET and unlock), remove the original busines responsibility and after this add your project and mark it as busines entity project. Maybe it works.

(You find unlock-and-modify wssf examples in hands-on-lab.)
Mar 27, 2007 at 11:31 AM
Yeah that worked, we just added a Bussiness Entities project with our namespace. thanks!

Mar 27, 2007 at 11:48 AM
you're welcome