Darren's profileBeardie's LairPhotosBlogListsMore Tools Help

Blog


    September 14

    Up n At Em Campers

    Techie Blog 6/10 Geek Factor

    It's the morning of my second day at the PDC and my body finally caved in last night and decided that it did need some sleep. Well until 3am at least. Still It did give me the pportunity to have a read of the Linq project white paper.

    Basically this is a new integrated query language that you can use within your .Net code. It will be in c|

    sharp ver 3 and VB 9. This new feature will is called .NET language integrated query (LINQ). It will provide a standard set of operators to work with data wether it be XML(XLINQ) or SQL(DLINQ). It provides strong typing over relational data while retaining the relation nature of the SQL language.

    The syntax is slightly different in VB than Csharp but more to do with the order of the operators (VB appears structured more closely to Transact SQL as I know it)

    Imagine we have an array of string values valled nameList we could in .Net code write:

    IEnumerable<string> vals = from s in nameList

    where s.Length == 4

    orderby s

    select s.ToUpper();

    Then we could do a foreach loop over vals to return a list of values that are 4 characters long ordered and upper case.

    There is more to this which I may cover later if I get a chance to do some hands on labs but for more info goto.

    http://msdn.microsoft.com/netframework/future

     

    Comments

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    Trackbacks (3)

    The trackback URL for this entry is:
    http://beardieslair.spaces.live.com/blog/cns!8C2C357940A64396!252.trak
    Weblogs that reference this entry