linq-to-xsd

How can I use Linq with Dataset.xsd files?

How can I use Linq with Dataset.xsd files? I've looked at Linq-to-Datasets and Linq-to-XSD but they don't really seem to work directly with the Visual Studio DataSet.xsd files. EDIT: I actually found a great link for this: link text but I can't seem to figure out what to do if I want to query on related tables. Dim taFields As N...

Experiences with LINQ2xsd ?

I am looking for more advanced alternatives to xsd.exe. I am just about to start a fairly simple project and decided to try using LINQ2XSD. The project has now been released as open source to CodePlex. I'm just wondering how many people have attempted to use it, if there are any 'dealbreakers' or critical bugs in there. I downloaded t...

Linq2XSD - Looking for articles, tutorials and experiences of

Only just found out about this. Does anyone have any links to some good sites talking about this? Its features, bugs, limitations. (obviously I have searched, so am looking for info that wont be on page 1 of Google :D ) ...

How do you tell the C# compiler that a symbol is a type and not a variable when they share the same name?

Hi, When you have a local variable named the same as a type, is there any way to tell the compiler that the symbol you have given is a type or a variable? For instance consider (and ignore all type return errors): public class sometype { public static sometype DoSomething() {} } public string sometype { get { return sometype.DoSometh...

Preserving Order In Sequence of Choices (LINQ To XSD)

Given the following XML example we could imagine a schema defining Root as containing a sequence of unbound number of choices between Type1 and Type2. <Root> <Type1 /> <Type2 /> <Type2 /> <Type1 /> </Root> I am testing out migrating from the XSD.exe tool which although adds type-safety has a lot of little annoyances. ...

LINQ to XSD in Visual Studio 2010 Beta2

I've been looking around and I was wondering if this is available in VS10 beta2. So far all I've seen is the Linq to XSD alpha 0.2 preview that works for VS 2008 ...

Linq to XSD for Silverlight

It appears that the LINQ to XSD project has some dependencies on types that are not available in Silverlight, such as System.Xml.Schema.XmlSchemaType. Considering that, I know it would take a significant amount of work to get LINQ to XSD to work in a Silverlight project, but I am curious, has anyone modified the LINQ to XSD project (Micr...

Exception in LINQ to XSD

I am using a LINQ to XSD Component. Occasionally I encounter an exception log parsing a valid value pasted as under. [For the same value it runs fine at other times] Source: Microsoft.Xml.Schema.Linq Message: Failed to set value on the property "CCNumber". Possible reason: The Given Value (1 1 1 1 1 1 1 1 1 1 1 ...

Simpler Linq to XML queries with the DLR

Hi folks, I have a question regarding Linq to XML queries and how we could possibly make them more readable using the new dynamic keyword. At the moment I am writing things like: var result = from p in xdoc.Elements("product") where p.Attribute("type").Value == "Services" select new { ... } What I would lik...