I still think the best alternative is to look at Hudsons earlier
advice and use inheritance. Using your example:

public class DistributionResult{
    ....
}

public class LogNormalDistributionResult : DistributionResult {
    ...
}

public class ContinDistributionResult : DistributionResult {
   ...
}

 public class DlsAppOverlordExportRunData
    {
        public virtual int Id { get; private set; }

        public virtual DateTime StartDateTime { get; set; }
        // ... other members omitted for clarity ...

        public virtual IList<LogNormalDistributionResult>
LogNormalDistributionResults { get; set; }
        public virtual IList<ContinDistributionResult>
ContinDistrbutionResults {get; set; }


        // ...
    }


--

You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibern...@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.


Reply via email to