Ask a questionAsk a question
 

AnswerThreading with LINQ

  • Tuesday, November 03, 2009 10:19 AMSSK_010181 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi 

    now i am using thread for some of my application needs like Uploading downloading files now i came to know that LINQ offers many features to threading so i decided to move to LINQ for my needs can u tell me how to use LINQ with Threads. will it realy increase thread performance

    Thanks in advance



    SSK_010181

Answers

  • Wednesday, November 04, 2009 10:10 AMZhipeng LeeMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hi SSK_010181,

    You can refer to the following link. The author of this article presented four types of DataContext Lifetime Management. Check if the third session of this article 'Create a thread specific DataContext ' helps you.

    http://www.west-wind.com/weblog/posts/246222.aspx


    Best regards,
    Charlie Lee

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

All Replies

  • Wednesday, November 04, 2009 10:10 AMZhipeng LeeMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hi SSK_010181,

    You can refer to the following link. The author of this article presented four types of DataContext Lifetime Management. Check if the third session of this article 'Create a thread specific DataContext ' helps you.

    http://www.west-wind.com/weblog/posts/246222.aspx


    Best regards,
    Charlie Lee

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.