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 7652509
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T11:47:20+00:00 2026-05-31T11:47:20+00:00

I am developing a web application using ASP.NET MVC and using FluentNHibernate for ORM.

  • 0

I am developing a web application using ASP.NET MVC and using FluentNHibernate for ORM.
I am faced with a situation.

I have 8 tables say A,B,C,D,E,F,G,H and each table has say 10 attributes, out of which an average of 5 are lists that have to be populated as dropdowns in the view.

Now, these values have to be extracted from the database. I have built individual tables for each dropdown attribute in table A with values, say HighestEducation is an attribute in A and the dropdown values include Undergrad, Masters, Doctorate, etc.

I want to build a tightly coupled ADO.NET entity model for that table, but cant seem to do so. Any suggestions on how to get around this one?

  • 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-05-31T11:47:22+00:00Added an answer on May 31, 2026 at 11:47 am
    Assuming
    
    class Person
    {
        public virtual Education HighestEducation { get; set; }
    }
    
    class PersonMap : ClassMap<Person>
    {
        public PersonMap()
        {
            References(p => p.HighestEducation);
        }
    }
    

    then either eager fetch when querying

    var persons = session.Query<Person>()
        .Where(...)
        .Fetch(p => p.HighestEducation)
        .Fetch(p => p.LikelyHoodToFly)
        .Fetch(p => p.LikelyHoodToExplode)
        .Fetch(p => p.SomethingElseType)
        .List();
    

    or load them all using futures (one roundtrip) and rely on the first level cache

    session.Query<Education>().Future();
    session.Query<SomeThingElse>().Future();
    session.Query<LikelyHood>().Future();
    var persons = session.Get<Person>().Where(...).Future();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have started developing a full-web application by using the ASP .NET MVC 3
I'm developing an web application using asp.net MVC and jQuery. I have in my
I have just started developing a full-web application by using the ASP .NET MVC
I'm developing a web application using ASP .NET MVC 1.0 and jQuery (including the
I'm developing a web application using asp.net Mvc 2 and NHibernate, and I'm paging
I'm developing an web application using asp.net mvc, and i need to do a
I am developing a web application using asp.net mvc... I am listing out the
I am developing a web application using Asp.net mvc framework with concept of sub
I'm developing a web application using ASP.NET MVC (I'm new to the framework and
If developing web applications using ASP.NET MVC or Ruby on Rails make the application

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.