Mapping constants
I am working with a legacy database that has two oddities:
1. Constant values in fields; I would like to map and write constants to the database (for example the char 'S' should always be written to a certain field, but I have no particular desire to read them back - Fluent apparently needs a setter.
2. Values written to multiple fields. I would like to have one property in my Poco, but map this to multiple columns in my mapping file. I am not sure how to do this.
Can anyone help me express this in Fluent?
Thanks, Graham.