none
how to access data of a task in sharepoint 2010 with Linq

    שאלה

  • Hi

    I am using linq to access data from Sharepoint lists that is easily accessable.

     EntityList<MUserInfoItem> UserInfoList = dc.GetList<MUserInfoItem>(CNST_STR_USERINFO_List);

     var Query2 = from UserInfo in UserInfoList.ToList()

                          select UserInfo;

    i want to access data from Task type list . i have tried this

    EntityList<MDRTasksTask> MDRTasks = dc.GetList<MDRTasksTask>(CNST_STR_MDRTasks_List);
     var Query = from MDRTask in MDRTasks.ToList()
                                select MDRTask;

    but it's not working .. any idea ?

    tnx

    יום שני 16 אפריל 2012 11:19

תשובות