IQueryable<Document> Compare WIth Column Name
Hi
I need to compare two IQueryable<Document> i.e
First Document ID have
1
2
3
4
5
Second Document ID have
3
4
so i want First Document ID 3,4 th another colums value?
How to do this using API?
Hi Jmr,
Please check this post. You can also use SequenceEqual or/and Queryable.Distinct
Kind regards,
Ivan Dimitrov
the Telerik team
Hi
Thanks for your valuable reply
two documents have different columns some columns only have equal column name and also i want equal row value not except row values.
if i try that code i am getting "The method 'Except' is not supported" error..
please clear my doubt
Thanks
Hi
How do i use greater then equal operator while i use dynamic fields
DateTime dt;
dt = DateTime.Today;
Idoc = App.WorkWith()
.Documents()
.Where(dc => dc.Parent.Title == "ScheduleSession"
&& dc.Status == ContentLifecycleStatus.Live
&& dc.GetValue("DatePrinted") >= dt)
.Get();
Thanks
jmr
Hello Jmr,
Try using GetValue<T> , because the extension you use returns object and actually you should get an compilation error.
Kind regards,
Ivan Dimitrov
the Telerik team