Skip to content

NH-3189 - IManyToOneMapper lacks method to add columns AND formula into a single relationship #1278

Closed
@nhibernate-bot

Description

@nhibernate-bot

Stephen Harvey created an issue — 15th June 2012, 12:04:48:

Mapping by code does not provide a mechanism allowing the user to do the following:


    <many-to-one name="EntityType">
      <formula>8579</formula>
      <column name="ENTITY_SECTION" />
    </many-to-one>

This xml config allows the user to create a reference to a foreign key with a fixed value created by the formula.

IManyToOneMapper allows a formula OR a set of columns, but not both.


Alexander Zaytsev added a comment — 24th November 2014, 21:12:53:

Does it work in HBM?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions