ss wrote:
I don't get running code yet -- it won't compile because the type can't be implicitly (or even explicitly) converted. My code is the same as the prior posts.
SD.LLBLGen.Pro.ORMSupportClasses.NET20.dll, version 2.0.7.122
.NET 2.0
I'm not seeing any dataset types, just System.Xml.XmlElement. This is what shows in Reference.cs on the client, although Webservice clearly has an Entity return type.
I could go WCF too, but I haven't tried this at all. Would this be preferred? What's your general opinion of WCF?
SS, make sure your namespace in your web service matches the namespace
in the EntityClassesSchemaImporter class in the "if" statement. e.g.
public override string ImportSchemaType(string name, string ns, XmlSchemaObject context, XmlSchemas schemas, XmlSchemaImporter importer,
CodeCompileUnit compileUnit, CodeNamespace mainNamespace, CodeGenerationOptions options, CodeDomProvider codeProvider)
{
if (ns.Equals("http://x.y.z/xml/serialization"))
{
switch (name)
It could be causing your problems.
Regards,
Simon