I feel like an idiot, but there is now a column on this table that
prefixes  these columns with a Q.  I still have an issue, but I'll
post that to a new thread.

On Jan 21, 1:24 pm, Corey Coogan <[email protected]> wrote:
> UPDATE: I put the properties back on my class and off the base class.
> I also removed these fields from the composite-id, just in case, and
> PolicyNumber and PolicyDate colums are still being mapped with the Q
> prefix as described in my first post.
>
> On Jan 21, 12:47 pm, Corey Coogan <[email protected]> wrote:
>
> > Many of my entities have the same 2 columns in a composite ID.  I want
> > to create a base entity for these types so I can override GetHashCode
> > () and Equals() only once.  In my automapconfiguration I am calling
> > IgnoreBaseType to make sure that this type is not mapped.
>
> > For some reason, I get mapping errors when I try to configure saying
> > that PolicyNumber can't be found.  When I look at the generated xml
> > mapping, I see this.  I don't have anything that is prefixing with a
> > Q.  Where is this coming from?
>
> > - <property name="QPolicyNumber" type="System.String, mscorlib,
> > Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
> >   <column name="`Q_POLICY_NUMBER`" />
> >   </property>
>
>
-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to [email protected].
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