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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T07:29:06+00:00 2026-05-11T07:29:06+00:00

I am creating a class library for a CRUD business application. The major categories

  • 0

I am creating a class library for a CRUD business application. The major ‘categories’ of business objects (with related data access layer objects) are:

  • Maintenance (for working with master tables (master lists) in the database
  • Incidents (most objects relate to a real-world incident)
  • Search (obvious)

As of now, my namespaces are set up as follows:

  • BusinessObjects.Maintenance.Contacts
  • BusinessObjects.Maintenance.Products
  • BusinessObjects.Maintenance.Classifications
  • .
  • BusinessObjects.Incidents.Contacts
  • BusinessObjects.Incidents.Products
  • BusinessObjects.Incidents.Classifications
  • .
  • BusinessObjects.Search.Contacts
  • BusinessObjects.Search.Products
  • BusinessObjects.Search.Classifications
  • .
  • Dal.Maintenance.Contacts
  • Dal.Maintenance.Products
  • Dal.Maintenance.Classifications
  • .
  • Dal.Incidents.Contacts
  • Dal.Incidents.Products
  • Dal.Incidents.Classifications
  • .
  • Dal.Search.Contacts
  • Dal.Search.Products

Notice that every class ends up with the same name.

Is this good form?

Are there any issues that can arise from this namespace convention? Any possible confusion to another person looking/using this code?

I do realize that in the form code, one drawback will be that I will have to qualify all objects with the namespace. To me, that isn’t a big deal. I usually prefer a little explicit-ity, if that’s a word.

  • 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-11T07:29:06+00:00Added an answer on May 11, 2026 at 7:29 am

    It seems Ok to me anyway. I would stay away from abbreviations though, that would get confusing and force people to have to know the abbreviations or look them up. Also they become unreadable and unspeakable.

    'Lets take a look at the BusObjConfIntContYYYYmmdd package now...' 

    One issue you might run into is names with subtle differences. With length of names being a possible issue, your eyes might gloss over the whole thing and pick up only part of it. Would there ever be a case where this happened?:

    BusinessObjects.Incidents.Classifications BusinessObjects.Classifications.Incidents 

    or

    BusinessObjects.Forms.ProjectManager.Exportable.Windows.XP BusinessObjects.Forms.ProductManager.Exportable.Windows.XP 

    That contrived example might become a problem.

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

Sidebar

Related Questions

I am creating a class library for a project management application. I will brief
I am creating a custom membership provider class library that defines a data provider
This seems confusing to me - im creating a class library, and adding all
When creating a Portable Class Library in either Visual Studio 2010, or Visual Studio
I'm creating a class (say, C) that associates data (say, D) with an object
I am creating a class for an application backbone and I need this function
I'm developing a desktop application. For that I'm creating class libraries. At the development
I am creating a class library with many different options for possible customizations. For
I'm creating a class library that makes available some XAML windows (in theory). To
I am creating a class library for AutoCAD with .NET. The problem is that

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.