/// <summary>
        /// Converts this instance of <see cref="secuential"/> to an instance of <see cref="secuentialDto"/>.
        /// </summary>
        /// <param name="entity"><see cref="secuential"/> to convert.</param>
        public static secuentialDto ToDTO(this secuential entity)
        {
            if (entity == null) return null;

            var dto = new secuentialDto();

            dto.i_NodeId = entity.i_NodeId;
            dto.i_TableId = entity.i_TableId;
            dto.i_SecuentialId = entity.i_SecuentialId;

            entity.OnDTO(dto);

            return dto;
        }
        /// <summary>
        /// Converts this instance of <see cref="secuentialDto"/> to an instance of <see cref="secuential"/>.
        /// </summary>
        /// <param name="dto"><see cref="secuentialDto"/> to convert.</param>
        public static secuential ToEntity(this secuentialDto dto)
        {
            if (dto == null) return null;

            var entity = new secuential();

            entity.i_NodeId = dto.i_NodeId;
            entity.i_TableId = dto.i_TableId;
            entity.i_SecuentialId = dto.i_SecuentialId;

            dto.OnEntity(entity);

            return entity;
        }