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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T11:16:57+00:00 2026-05-12T11:16:57+00:00

Our team is currently working on a large project which makes heavy use of

  • 0

Our team is currently working on a large project which makes heavy use of foreign key tables as they are used on our TeamMember Management Webapp.

Basically, one TeamMember can be in a Team, in an Area and a TeamArea (the latter for editing and rights management).

My main goal is focused on retrieving the data for showing these FK Fields as real DropDownLists with values behind instead of TextBoxes with the FK_ID number in my edit/create view.

What I have tried so far:

  • Create a FormViewModel which would store all other data a lists. Conclution: Not usable as I would need to pass / create another instance of my repository.

  • Directly implement those lists on the TeamMember Class – but that didn’t really work out well.

  • Also thought about harcoding it in the repository but couldn’t really get the data out correctly from the tables.

What would be the best and “cleanest” approach to accomplish that?

  • 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-12T11:16:57+00:00Added an answer on May 12, 2026 at 11:16 am

    Your first option is the best, I’m not sure why you would dismiss it so easily. What’s wrong with passing or creating another instance of your repository? That shouldn’t really do much more than initialize your provider.

    The normal pattern is for your models to get data from a repository, so it seems to me that you should revisit this.

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

Sidebar

Related Questions

I'm currently working on a large BPM project at work which uses the Global
I am currently working on a rather large project with a team distributed across
I work in a large, separated development team. The project I'm currently working on
We're a distributed team of 5 developers working on rather large integrations project. We
Our team is currently working on completely redesigning our school's website and one of
In the project my team is working on, there is a windows service which
Currently, I found that it's very inefficient use of Maven in our team. So
I'll try to make this as straight forward as possible. Currently our team has
My team is currently trying to automate the deployment of our .Net and PHP
We have a small 3 developer team that is currently using Subversion for our

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.