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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T20:54:42+00:00 2026-05-30T20:54:42+00:00

Consider I want to develop a large enterprise application. In my application I have

  • 0

Consider I want to develop a large enterprise application. In my application I have several modules something like:

Purchase, Inventory, Accounts, Payroll, HR and so on. I will develop each of these modules individually.

I want to create a Class Library Project that consists of my entities that means POCOs.

What will be good a practice for creating entities?

  1. Creating all entities in a single project, or:
  2. Creating separate project containing relative entities.

If I want to create a separate project containing relative entities, then how do I create them and how do I integrate them?

  • 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-30T20:54:43+00:00Added an answer on May 30, 2026 at 8:54 pm

    We are currently working with smth like that: several modules with own entities. Each module has its own POCO classes that can depend on “common use” classes (User or Role, for example).

    Poco classes can be declared in any namespace. The main thing that connects your poco classes to Database is DbContext class. You can create several DbContexts for single database (one for a module in our case). This dbContexts can have own pocos and can use any number of pocos from other Contexts (DbSet field for one poco should be declared in only one DbContext). All DbContexts should use the same connection string. All tables and dependencies will be created automatically. Sounds like magic.

    Ask if you need any details.

    If you have time for research look through nopCommerce project. They implemented what you are interested in.
    http://nopcommerce.codeplex.com/

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

Sidebar

Related Questions

Consider I have an array of elements out of which I want to create
I want to develop ebook reader application, from which user can buy ebooks available
I have two grayscale Png files( https://i.stack.imgur.com/8RGh4.jpg ) that I want consider as a
Consider the need to develop a lightweight desktop DB application on the Microsoft platforms.
I want to develop a new powerful GUI for an existing C++ application. I
I have got UIPickerview in my application working fine. I want to change the
Consider my dataTable contains 10,000 rows and i want to know the pitfall of
Consider the following subversion directory structure /dir1/file.txt /dir2/file.txt I want to move the file.txt
Consider this at the windows commandline. scriptA.py | scriptB.py I want to send a
Consider a window with loads of multi colored controls on it. I want to

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.