title: Save a long string in SQL database using Entity Framework
body: <p>I'm trying to save the contents of a website to my database using Entity Framework. However, when the length of the HTML > 4000, I get these validation errors:</p>
  
  <blockquote>
    <p>A first chance exception of type
    'System.Data.Entity.Validation.DbEntityValidationException' occurred
    in EntityFramework.DLL WebDev.WebServer40.exe Information: 0 :
    Property: RawData Error: The field RawData must be a string or array
    type with a maximum length of '4000'.</p>
  </blockquote>
  
  <p>Any idea how to get around this? RawData is being created as NVARCHAR(4000) but a better type would be TEXT. Can I force that somehow?</p>
  
  <p>Thanks!</p>