Hello , I am not sure how to write this but I need to write a mapping xml file for a class this is my class definition : public class Mail : IMail { public int ID { get; set; }
public IStatus MessageStatus { get; set; } }
ISTATUS is an interface inherting from IDomain , and there is a class called status inherting class domain implemeting inteface Idomain
public class Domain : IDomain, IUserType {
#region IDomain #region ID public int ID { get; set; } #endregion
#region Name public string Name { get; set; } #endregion
#region ParentId public int ParentId { get; set; } #endregion #endregion }
so I'll be now having a mail class with the property IStatus , It'll be set to an enum or integer value , I made a little search and I found that there is an interface called iusertype i shall implement for class ( domain ) , is that right or what ?
|