linq

There are 3 entries for the tag linq

Create an ADODB Recordset in code from XML

Recently I have been doing some work on an older system using ADODB recordsets. Every now and then we still have to support these old systems. I wanted to create an open recordset in code on the .NET side to pass to the older system, but ADODB really wants an open database connection in order to open a recordset. My first obvious attempt was to create the recordset object, then create the field objects and add them to the recordset. I could create the recordset this way, but I couldn't open it, and...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Matching and Grouping Regular Expressions using Regex in C#

Regular expressions are one of those things that you may not need very often, but when you do, it really solves the problem. The usage of the Regex static methods may seem difficult, but they're pretty easy. Being able to use regular expressions readily will help you quickly write some code that would take you many hours longer by parsing the strings. I've compiled some code that uses the basic features of the Regex class. This article only covers the coding side of it. In order for it to work, you...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

LINQ to SQL with ReSharper

I am hooked on ReSharper, and when I started using VS 2008 with ReSharper, I was feeling the pain with version 3.1. I would go back and forth between turning it off so I could access my Linq methods and avoid having ReSharper reformat my code into a nice mess, and turning it on so I could have it fix my usings and reformat my code nicely. I have been using ReSharper 4.0 pre-release version for a few weeks now, and it's working out pretty good. I only have to turn it off once in a while now. The lambda...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati