Re: namespace problem
- From: apoc69@xxxxxxx (Steven Wolf)
- Date: 3 Apr 2005 01:37:07 -0800
Hi Jon
> Hang on - is Mapping a class as well as a namespace, or did you mean to
> write new Server.Business.Mapping.Facility()?
No, Mapping is a namespace of b2b.Server.Business and Facility is a
class there.
I map there DataTables to my domain objects.
>
> Fortunately, with using declarations it shouldn't be a problem - just
> declare
>
> using Server.Business.Mapping;
>
> at the top of your class.
>
Well, the problem is, i have also a Facility class in
Server.Business.Entities, so i must use for example
Entities.Facility facility = new Entities.Facility();
Mapping.Facility facilityMapper = new Mapping.Facility();
and so on. but with declaring "using b2b.Server.Business", those both
namespaces (Entities and Mapping) don't appear..
Steve.
.
- Follow-Ups:
- Re: namespace problem
- From: Jon Skeet [C# MVP]
- Re: namespace problem
- References:
- namespace problem
- From: Steven Wolf
- Re: namespace problem
- From: Jon Skeet [C# MVP]
- namespace problem
- Prev by Date: Re: Garbage collection (Urgent issue)
- Next by Date: Open Source ERP
- Previous by thread: Re: namespace problem
- Next by thread: Re: namespace problem
- Index(es):
Relevant Pages
|