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

            part.ID = temp.ID;
            part.SAPType = temp.SAPType;
            part.FISType = temp.FISType;
            part.Editor = temp.Editor;
            part.Cdt = temp.Cdt;
            part.Udt = temp.Udt;

            return part;
        }
Пример #2
0
        private PartTypeMapping convertToObjFromMaintainInfo(PartTypeMappingMaintainInfo temp)
        {
            PartTypeMapping part = new PartTypeMapping();

            part.ID = temp.ID;
            part.FISType = temp.FISType;
            part.SAPType = temp.SAPType;
            part.Editor = temp.Editor;
            part.Cdt = part.Cdt;
            part.Udt = part.Udt;

            return part;
        }