Fluent NHibernate beginner problem: How to convert single column data to custom class?

Posted by Stefan Ahlm on Stack Overflow See other posts from Stack Overflow or by Stefan Ahlm
Published on 2010-05-18T11:06:46Z Indexed on 2010/05/18 11:10 UTC
Read the original article Hit count: 230

Filed under:
|

I am very new to Fluent NHibernate and I have a problem that I cant find the answer to.

I have a string column in my database table, containing a mathematical expression i.e: "10 + 15 * 5". On my entity I have a property that I call Formula and this returns a class that contains the mathematical "formula" (not as a string).

I beleive this post http://intellect.dk/post/Implementing-custom-types-in-nHibernate.aspx explains how to solve it for NHibernate. But I am not sure...

How do I get this working with Fluent NHibernate?

© Stack Overflow or respective owner

Related posts about fluent-nhibernate

Related posts about .NET