private static OrderEntityInfo GetOrderEntityInfo(XElement xe) { OrderEntityInfo orderEntityInfo = new OrderEntityInfo(); if (xe != null) { orderEntityInfo.Entity = GetEntityInfo(xe.Element("Entity")); orderEntityInfo.OrderDetailEntities = GetOrderDetailEntities(xe.Element("OrderDetailEntities")); orderEntityInfo.ReferenceDatas = new ObjectList <ReferencedDataInfo>(); } return(orderEntityInfo); }
private static OrderEntityInfo GetOrderEntityInfo(XElement xe) { OrderEntityInfo orderEntityInfo = new OrderEntityInfo(); if (xe != null) { orderEntityInfo.Entity = GetEntityInfo(xe.Element("Entity")); orderEntityInfo.OrderDetailEntities = GetOrderDetailEntities(xe.Element("OrderDetailEntities")); orderEntityInfo.ReferenceDatas = new ObjectList<ReferencedDataInfo>(); } return orderEntityInfo; }