Пример #1
0
        public static List <HouseTypeGroupStandardItem> Get(string constructionCode, string planNo)
        {
            var detail = HouseTypeGroupDetail.Get(constructionCode, planNo);
            var items  = HouseTypeGroupStandardItem.Get(constructionCode, detail.HouseTypeGroupId, planNo);

            return(items);
        }
Пример #2
0
        private static HouseTypeGroupStandardItem Convert(HouseTypeGroupStandardItems_Old source)
        {
            var item = new HouseTypeGroupStandardItem();

            item.HouseTypeGroupId = source.HouseTypeGroupId;
            item.ItemName         = source.ItemName;
            item.Quantity         = source.Quantity;
            item.UpdatedDateTime  = source.UpdatedDateTime;

            return(item);
        }