Esempio n. 1
0
        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);
        }
Esempio n. 2
0
        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;
        }