Пример #1
0
        private PartTypeDescMaintainInfo convertToMaintainInfoFromObj(PartTypeDescription temp)
        {
            PartTypeDescMaintainInfo part = new PartTypeDescMaintainInfo();

            part.ID = temp.ID;
            part.PartType = temp.PartType;
            part.Description = temp.Description;

            return part;
        }
Пример #2
0
        private PartTypeDescription convertToObjFromMaintainInfo(PartTypeDescMaintainInfo temp)
        {
            PartTypeDescription part = new PartTypeDescription(temp.ID, temp.PartType, temp.Description);

            return part;
        }