Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

select top 5 in linq c#

var list = (from t in ctn.Items
           where t.DeliverySelection == true && t.Delivery.SentForDelivery == null
           orderby t.Delivery.SubmissionDate
           select t).Take(5);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #select #top #linq
ADD COMMENT
Topic
Name
9+6 =