title: String or binary data would be truncated.The statement has been terminated while removing data
body: <p>I have a <code>PriceId</code> and I get some <code>PriceGaranties</code> by it and I am trying to delete <code>PriceGaranties</code> by updating <code>Price</code> and see this error.</p>
  
  <p>Here is the code:</p>
  
  <pre><code>public void DeletePriceGaranties(int priceId)
  {
      var deletedPriceGaranties = context.PriceGaranties.Where(p =&gt; p.PriceId == priceId).ToList();
      foreach (var priceGaranty in deletedPriceGaranties)
      {
          context.PriceGaranties.Remove(priceGaranty);
          context.SaveChanges();
      }
  }
  </code></pre>
  
  <p>The error is:</p>
  
  <blockquote>
    <p>String or binary data would be truncated. The statement has been
    terminated.</p>
  </blockquote>
  
  <p><strong>Update</strong></p>
  
  <p>Here are the models:</p>
  
  <pre><code>public class Price
  {
      public int PriceId { get; set; }
      public int ProductId { get; set; }
      public int ClassId { get; set; }
      public int ClassPartnerId { get; set; }
      public int UserId { get; set; }
      public decimal Cost { get; set; }
      public string Url { get; set; }
      public string Description { get; set; }
      public DateTime LastUpdate { get; set; }
      public bool Enable { get; set; }
      public int CostTypeId { get; set; }
      public int Value { get; set; }
      public Class Class { get; set; }
      public Product Product { get; set; }
      public User User { get; set; }
      public List&lt;OldPrice&gt; OldPrices { get; set; }
      public List&lt;PriceColor&gt; PriceColors { get; set; }
      public List&lt;PriceGaranty&gt; PriceGaranties { get; set; }
      public ClassPartner ClassPartner { get; set; }
  }
  
  public class PriceGaranty
  {
      public int PriceGarantyId { get; set; }
      public int PriceId { get; set; }
      public int GarantyId { get; set; }
      public Comparing.Model.Price.Price Price { get; set; }
  }
  </code></pre>
  
  <p>And all of string types are nvarchar(MAX).</p>