How can i convert result in var to datatable without loop? Following is my code:-
var result = PhysicianLookUp.Find(Where.PhysicianLookUp.DateTimeStamp.Ge(DateTimeStamp));
How can i convert result in var to datatable without loop? Following is my code:-
var result = PhysicianLookUp.Find(Where.PhysicianLookUp.DateTimeStamp.Ge(DateTimeStamp));
Presuming that what is returned is an IEnumerable, you should probably look at the answer to this question.
It's still a loop, but I don't think you can get away from that as far as I know.
Here are two links
You can check with the second method in below link
One another link from MSDN