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

  • Home
  • SEARCH
  • 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 146085
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T08:32:19+00:00 2026-05-11T08:32:19+00:00

In an n-tiered application where you are using custom entities, how do you find

  • 0

In an n-tiered application where you are using custom entities, how do you find yourself handling data needed from lookup tables? Do you create entities for each of these lookup tables or employ some other strategy?

For example. I have a ‘Ratings’ lookup table that will be used to populate a dropdownlist. Would you create a ratings object with a ratingid and rating property and pass that to your UI or is there a more efficient way to go about it?

Appreciate your thoughts.

  • 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. 2026-05-11T08:32:20+00:00Added an answer on May 11, 2026 at 8:32 am

    I’d suggest that the solution will depend on how often the lookup data changes, whether or not it needs to be editable, and whether or not you’re enforcing referential integrity at the database. I think it makes the schema more understandable if you put each lookup type into a separate table.

    I generally don’t create entities for each lookup table, but instead will load most of the common lookups into structures that are easily re-used by the application – for an asp.net app, for example, I’ll create hashtables or ordered dictionaries which can easily be bound to most web controls.

    And, horror of horrors, I sometimes create a singleton to manage access to all these lookups, which can be stored as static vars or in the cache, depending on requirements.

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

Sidebar

Related Questions

I'm in the process of developing a multi-tiered financial processing application in Java using
I am involved in development of a tiered application that uses LINQ2SQL separated from
What pattern/architecture do you use in a 3-tiered application using NHibernate that needs to
I've got various views in my iPhone application that require padding e.g a custom
For typical 3-tiered application, I have seen that in many cases they use a
Hey guys! I'm using ASP.NET MVC to develop an application for a library with
I've got 2 applications using Core Data with a sqlite persistent store. I've got
I am playing with a sample WPF application that is tiered in a Model-View-Presenter
I am rewriting my client-server rich client database application (Swing) to a three-tiered application
For our enterprise application, we have tiered streams in AccuRev (developers promote to 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.