| I have a class that uses a property that I don't want persisted. I understand that when using a mapping file, I can simply not include that property in the mapping file and it will be successfully ignored.
 However, we are using attributes in our classes. Is there an attribute that I can use to tell NHibernate to ignore the property in my class?
 
 For example (albeit a bad example):
 
 [Serializable, Class(Table = "DOGS")]
 public class Dog{
 
 private string name;
 private bool hasTicks;
 
 [Property(Column = "CORRELATION_LANG_TAG")]
 public virtual string name{ get {return name;} set{ name = value;} }
 
 
 public bool HasTicks{ get {return name.equals("joe");} }
 }
 
 
 How do I decorate the HasTicks property or the hasTicks field such that NHibernate knows to ignore it?
 
 Thanks,
 Christian
 
 
 |