I have class name called “Address” in two namespaces. Its been two EDMX files, so it holds
different namespace in client side. I have another class “Vendor” and it holds object of “Address” class. In one situation i have to convert from one namespace to another namespace.
How i can achieve this.
I have class name called Address in two namespaces. Its been two EDMX files,
Share
You do not cast namespaces, you resolve types by qualifying them with a namespace.
Generally it is a bad idea to have multiple classes with the same name, especially if they are used together somewhere in the application.