I was mapping a relation using something like the following

<map name="Foo" cascade="all-delete-orphan" lazy="false">
    <key column="FooId"/>
    <index column="FooType" type="Domain.Enum.FooType, Domain"/>
    <element column ="FooStatus" type="Domain.Enum.FooStatus, Domain"/
>
</map>

The class is like this

namespace Domain {
    public class Enum {
        public enum FooType {
            Foo1,
            Foo2,
            ...
            Foo50}
      public enum FooStatus {
           NotNeeded,
           NeededFor1,
           NeededFor2,
           NeededFor3,
           NiceToHave}
    }
}

Can I do this using Fluent Nhibernate? If not can I map a class mixing
Fluent and XML?


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

Reply via email to