Mapping constants

Original Post Graham Thomas's Avatar

Graham Thomas

17 May, 2010 02:46 PM via web

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.

    Reply to this discussion

    Preview Comments are parsed with Markdown. Help with syntax

    Attached Files

      You can attach files up to 10MB

      What is the opposite of bad?

      Recent Discussions

      05 Jul, 2010 10:29 PM
      05 Jul, 2010 12:45 PM
      05 Jul, 2010 12:42 PM
      05 Jul, 2010 12:17 PM
      05 Jul, 2010 12:12 PM

       

      03 Jul, 2010 12:26 AM
      02 Jul, 2010 02:17 PM
      02 Jul, 2010 08:18 AM
      02 Jul, 2010 12:20 AM
      01 Jul, 2010 10:14 PM