QueryExpression DeliveryInquiryQE = new QueryExpression(); DeliveryInquiryQE.EntityName = "new_sap_delivery_inquiry"; DeliveryInquiryQE.ColumnSet = new ColumnSet(true); DeliveryInquiryQE.Criteria.AddCondition("new_vin", ConditionOperator.Equal, vin); //排序 DeliveryInquiryQE.Orders.Add(new OrderExpression("createdon", OrderType.Descending));
Dynamic QueryExpression按照创建日期排序
原文:https://www.cnblogs.com/LanHai12/p/15258016.html