AddQueryOption RRS feed

  • Question

  • User972307373 posted


    I have a problem with access a ODATA in asp.net site. I get all information about LINQ

    var query = (from p in HistCont.ProcessValues
                                 where p.FQN == "VarName" && p.DateTime > DateTime.Now.AddHours(-1)
                                 select p).Skip(40).Take(10);

    so far so good. But I need an additionan option (in the URI: &RetrivalMode=Full). I found the method AddQueryOption("RetrivalMode", "Full"), but I have no idea how I bring Linq query and AddQueryOption together??

    Wednesday, March 2, 2016 6:45 AM