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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T04:12:57+00:00 2026-06-08T04:12:57+00:00

I need some guidance for a database design around a project management system. My

  • 0

I need some guidance for a database design around a project management system. My question is mainly around how should I design the columns or tables for functionality around the various Roles.

The system will have several users in a Users table and the following roles in Roles table
(Company Adminis, Project Manager, Supervisor, Alternate Supervisor, Employee)

The various entities involved are Users, Roles, UserRoleMapping, Company, Projects

  • A company has many Projects and has one ore more Company Administrators
  • Every Project has a Project Manager
  • Every Project has several Employees assigned to it
  • Each Employee has a Supervisor

I am looking for a good db design that would translate well to an Entity Framework model.

This is the approach I have thought of and would appreciate any feedback:
Use default ASP.NET Membership that would provide Users, Roles, UserRoleMapping functionality.

Then, using the base Users table from Membership and creating Role specific tables to store various users: Employees, CompanyAdmins, Supervisors

UPDATE TWO: Please see the new image below. Thinking of using a Table per Hierarchy to store the various managers (Company Admins for a company, Project Manager for a project, Supervisor for an employee) in the same table.
What do you think of this as the database design and please suggest how this would work for the Entity Model?

enter image description here

Also, on another note – do you think the way I have connected Project, Tasks and Employees is correct?

Thanks.

  • 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-08T04:12:59+00:00Added an answer on June 8, 2026 at 4:12 am

    How big could the employee table get? In their role as administrator, supervisor or manager, all of those are employees (they may or may not have a supervisor though). Can an employee be assigned to several projects? Can an employee be assigned multiple projects? In my case, an employ could be assigned to only one project at a time (or in the case of certain employees, none). This allowed me to modify a basic employee object like so:
    EmpID
    [Employee info]
    SupervisorID (can be null and is an employee_id)
    AlternateSupervisorID (can be null and is an employee_id)|Project_ID (can be null) and is a FK

    only other object is project with a PK of project_id.

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

Sidebar

Related Questions

Im new to database design and need some guidance. A lot of new data
I need some guidance around which approach to use to load binary files from
Really need just some guidance : Topological sort by arcs definition (from my question)
I am in need of some guidance for the following design. I have a
I need some guidance in getting value from the database within a week time
Need some guidance figuring out what went wrong. I've been using mysql, phpmyadmin for
I am new to mocking and dependency injection and need some guidance. My application
I am new in this field and i desperately need some guidance from u
I'm in need of some guidance as to how to proceed with my application.
I am in need of some guidance of how to carry out a specific

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.