UI code changes required for compile

Mar 11, 2009 at 4:06 AM

Again, using WCF & NHibernate I had to make the following changes to my UI for it to compile:

Is this right?

Comment out from every code behind in all List Pages (& also in Form version as it isn't required there):

using namespace.Entities

This resolves the following error:

'MyObject' is an ambiguous reference between MyNamespace.MyReference.MyObj' and 'MyNamespace.Entities.MyObj' 

Modify in aspx files in datasource







Also, I did a global replace for:

constractors - it should be constructors

and also

puplic - should be public.



Mar 15, 2009 at 10:32 AM
Edited Mar 15, 2009 at 10:33 AM
Hi minnow,
you seems that you add your service reference manually because if you use the generated code from Sculpture you will find that we eliminate the generation of entities in the service reference because we already have a reference to the entities project.
If you add it manually you will need you need to choose "Reuse types in referenced assemblies" from the advanced form for adding service reference form.

Sure we will correct the spelling mistakes :) Thank you.