dto 中文意思是什麼

dto 解釋
蒸餾妥爾油
  1. The middle - ground the ejb advocate is reminded of goldilocks and the three bears is to tailor the dto structure to return exactly what you need

    中立方法( ejb倡導者想起了《金發姑娘與三隻熊》的故事)就是對dto結構進行定製,使其準確返回您所需要的數據。
  2. And as a final serious point on a convention, if you want to have a getdto method associated with an entity, one approach is to reserve this method name for one that returns an instance of entity dto, and that this dto contains all the non - scalar properties of the associated entity those properties with a maximum cardinality of 1

    約定的最後一個要點是:如果要讓getdto ( )方法與實體關聯,一種方法就是為返回< entity > dto的實例的方法將保留此方法名稱,該dto包含關聯的實體的所有非標量屬性(這些屬性的最大基數為1 ) 。
  3. The other end of the spectrum is to return all of the non - scalar data associated with the target entity returned in a dto, as we discussed above in addressing question 1

    另一種極端的方法就是返回與在dto中返回的目標實體關聯的所有非標量數據,正如我們在回答第一個問題時所討論的。
  4. For example, say we wanted to get just the " standalone " dto associated with a given entity type

    例如,我們希望獲取與給定實體類型相關的"獨立的" dto 。
  5. The relationships shown on the diagram enable multiple paths by which we could retrieve a dto that composes information from all four entity types

    關系圖上顯示的關系啟用了多個路徑,我們可以通過這些路徑檢索組成所有四個實體類型的信息的dto 。
  6. This applies to a delegated method on an entity ejb, an entity home method, a session facade, or as you call it a dto assembler class

    這適合於實體ejb 、實體home方法、會話外觀或(如您所稱) dto裝配器類上的已委託的方法。
  7. On the plus side, you only have to modify the dto every time you add or remove an attribute

    這種方法的好處在於,當每次添加或刪除屬性時,只需要修改dto即可。
  8. For your specific example, you wanted a dto returning data from customer, its open order, and the products in the order represented by a line item to hold the link attributes for the quantity and amount

    在您所給出的具體例子中,您希望dto返回來自客戶、延期交貨訂單、訂單中的產品(由一個line item表示,其中包含數量和總數的鏈接屬性)的數據。
  9. When i thought about it some more, it boiled down to a completely different question : if there was no performance penalty at all for calling the get attribute methods of a cmp, would you still recommend that the session facade, dto assembler or entity home method use a get dto method on the entity rather than simply get the attributes it needs one at a time from the associated entities

    我仔細考慮之後,得出了一個完全不同的問題:如果調用cmp的get < attribute > ( )方法完全沒有性能損失,您是否仍然會建議會話外觀、 dto裝配器或實體home方法對實體使用get < dto > ( )方法,而不直接一次性從相關實體獲得其所需的屬性?
分享友人