title: Components of DTO are Entities or DTOs as well?
body: <p>I have question of terminology. Reffering to Fowler, DTO is "An object that carries data between processes in order to reduce the number of method calls." (<a href="http://martinfowler.com/eaaCatalog/dataTransferObject.html" rel="nofollow">http://martinfowler.com/eaaCatalog/dataTransferObject.html</a>). As I understand, the only way to reduce method calls is to unite them. So DTO is composite object, containing some entities. </p>
  
  <p>For example, we have two simple entities CoinInfo and ProductInfo:</p>
  
  <pre><code>public class CoinInfo
  {
      public int CoinId { get; set; }
      public int Denomination { get; set; }
      public int Quantity { get; set; }
  }
  
  
  public class ProductInfo
  {
      public int ProductId { get; set; }
      public ProductTypes ProductType { get; set; }
      public int Price { get; set; }
      public int Count { get; set; }
  }
  </code></pre>
  
  <p>And we also have complex object SomeDto, uniting CoinInfo and ProductInfo.</p>
  
  <pre><code>public class SomeComplex
  {
      public List&lt;CoinInfo&gt; UserWallet { get; set; }
      public List&lt;ProductInfo&gt; Products { get; set;}
  }
  </code></pre>
  
  <p>So, ProductInfo and CoinInfo are "DTO"s also or just "entities"?</p>