Enumerating Files and Directories in VB 2010
Learn how to enumerate the files and folders on a computer with LINQ, managing access exceptions along the way.
Learn how to enumerate the files and folders on a computer with LINQ, managing access exceptions along the way.
This article, by Scott Mitchell, is part on an ongoing series of articles that examines LINQ. This installment looks at querying and searching XML documents using the LINQ to XML provider.
By default LINQ uses deferred query execution. This means you can access the results, change the data and use the same query again. Using Visual Studio 2010, beta 1 and the .NET Framework 4.0 we'll see how to use this to our advantage.
Do you need to create Dynamic Where Clauses at runtime? No need to use string concatenation with SQL, LINQ is fully capable of performing the same task.
Learn about LINQ and all the ways you can use "Where" in your code.
Sometimes when you have all kinds of data what you really need is XML. LINQ to XML let's you employ functional construction to convert your data into XML.
Check out this introduction to LINQ, a .NET 3.5 feature that allows you to handle different types of data from in-memory data structures (like generic lists and arrays) to datasets to databases to XML documents using a query language that's integrated into Visual Basic.
LINQ to SQL eliminates SQL Injection Attacks and is easier to use than straight SQL to boot.
ADO.NET 3.0 and the ADO.NET Entity Framework are designed to let you spend less time writing SQL and database plumbing code and more time working in the space of the problem you are trying to solve.
By using LINQ for XML for Objects (aka LINQ to XSD), you can define an XML document and an XML Schema that then can be treated like any other data repository. Discover how Visual Studio makes this easy by generating strongly typed object wrappers that are easy to use.
Dynamically construct XML documents in code quickly and easily with LINQ to XML and Functional Construction.
Learn how to use literal XML with VB9 and embed expressions, such as LINQ queries, in the XML.
Learn how to implement a Left Outer Join with LINQ.
You can use LINQ to SQL to define an Object Relational Mapping between SQL tables and then query those tables with LINQ.
Range variables are powerful and flexible. Discover why they are critical to mastering LINQ queries.
Discover a utility for quickly obtaining and managing rectangles within rectangles. The rectangles then can be used to do things such as manage the layout of dynamically generated forms or visualize LINQ queries.