On the surface, the most maintainable approach is to eschew DTOs altogether and get one attribute at a time from the client.
从表面上看,可维护性最好的方法就是完全避免D TO,而采用一次从客户机获取一个属性的方法。
2
While that approach works well for the pages that make up the surface Web, these programs have a harder time penetrating databases that are set up to respond to typed queries.