Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8822651
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T06:09:32+00:00 2026-06-14T06:09:32+00:00

I have a table, which is mapped with NHibernate: Person —— Firstname Lastname There

  • 0

I have a table, which is mapped with NHibernate:

 Person
 ------
 Firstname
 Lastname

There is also a DTO which is called Person.

Now, there are possibilities, that there are more fields, than known at design-time. The user can add customer defined fields at runtime. In this case, there are generated additional fields to my table (this is historically and I cannot change this).

The “new” table is looking now like:

Person
------
Firstname
Lastname
IF_Field1
IF_Field2

Now, I am searching a way to get this values (from IF_Field1, IF_Field2 etc) with NHibernate into the DTO Person. For example as a Hashtable or something similar.

Is there a way to reach my goal?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T06:09:33+00:00Added an answer on June 14, 2026 at 6:09 am

    Have a look at dynamic components:
    http://nhibernate.info/doc/nh/en/index.html#components-dynamic

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a table called Person which I have already mapped in hibernate I
I have an NHibernate problem with lists, which are mapped as subclasses of an
I have the following Hibernate Mapping, which has to be mapped using the Table
I have table which contains double values stored in mysql database ...I need to
I have table in which I am inserting rows for employee but next time
i have a table which has many fields but i want to get count
I have a table which i want to store all the outputs into one
I have one table which contains events and dates, and another which contains the
I have a table which stores the data related to posts in this format
I have a table which contains TV Guide data. In a simplified form, the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.