How do you map an enum as string in fluent nhibernate?

Yes, it does that by default if you just do.

Yes, it does that by default if you just do: Map(x => x. YourProperty); Make sure you're using the latest version off the trunk.

That was much easier than I imagined! – Chris Conway Feb 2 '09 at 14:34 1 Apparently FluentNbernate does not do this by default anymore. – Falcon Feb 1 at 10:41 You can do it like this Map(x => x.

Property). CustomType>(); – Yavor Shahpasov Aug 11 at 18:24.

And there is also the EnumString class you can pass as customType.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions