title: How to Ignore properties for Db not for instance in ServiceStack.OrmLite
body: <pre><code>public class Message
  {
      [AutoIncrement]
      public long Id { get; set; }
  
      public string Text { get; set; }
  
      public DateTime CreateDate { get; set; }
  
      [References(typeof(UserAuth))]
      public int FromId { get; set; }
  
      [Ignore]
      public UserName FromUserName {get;set;}
  
   }
  </code></pre>
  
  <p>When I use "Ignore" attribute framework Ignores the property during messaging. How can I write "Ignore it for Db persistance but don't ignore it messaging (serialization)". Or do I have to write new class for it.</p>