Пример #1
0
        public metadataTransactionType Create(DTO.MetaDataTransactionTypesDTO dto)
        {
            metadataTransactionType Trans = new metadataTransactionType();

            Trans.ID         = dto.ID;
            Trans.IsActive   = dto.IsActive;
            Trans.Name       = dto.Name;
            Trans.Identifier = dto.Identifier;
            Trans.SequenceNo = dto.SequenceNo;
            return(Trans);
        }
Пример #2
0
        public DTO.MetaDataTransactionTypesDTO Parse(metadataTransactionType Trans)
        {
            DTO.MetaDataTransactionTypesDTO dto = new DTO.MetaDataTransactionTypesDTO();

            dto.ID         = Trans.ID;
            dto.IsActive   = Trans.IsActive;
            dto.Name       = Trans.Name;
            dto.Identifier = Trans.Identifier;
            dto.SequenceNo = Trans.SequenceNo;

            return(dto);
        }