F
Floppy Jellopy
How can you already have a web app if you haven;t even determined your
namespacing?
Ask yourself this: What makes a person object and how can i have one at both
the BOL and the DAL?
And frankley unless this is a class library...which its not..... who cares?
to include the fully qualified name each time I create a DAL object:
namespacing?
Ask yourself this: What makes a person object and how can i have one at both
the BOL and the DAL?
And frankley unless this is a class library...which its not..... who cares?
got a DAL namespace, a BOL namespace and a WEB namespacemichaeltorus said:HI
I've got an n-tier web app. The namespaces follow the layers in that I've
layer they reside in, so I can use the namespaces at the top without havingWhat I'm tring to decide is the naming convention for my classes.
Theres 2 scenarios, firstly, Let's use a person object as an example:
If I name my person classes in both the DAL Layer and BOL layer to be ...
namespace BOL
{
class Person
{}
}
namespace DAL
{
class Person
{}
}
Then, whenever I create a person from the DAL Layer I have to reference it by using the qualified name:
namespace BOL
{
class Person
{
private DAL.Person _person = new DAL.Person();
}
}
The other scenario is to declare my person objects with e suffix of the
to include the fully qualified name each time I create a DAL object: