Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Namespaces
Message
 
 
À
06/05/2009 18:12:57
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Titre:
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01398234
Message ID:
01398239
Vues:
64
>>When I generate my DS the default NameSpace is Project Name. I want to add Company's name first, so it should be
>>
>>CompanyName.ProjectName.DataSets
>>
>>However, it seems to not take it.
>>
>>Do you think it's OK to leave without Company Name or what should I do to insert it?
>
>I think it is always good to encapsulate your code into your corporate namespace. For example, in my framework, all classes are part of a specific namespace. So, by that, I avoid any conflict with another namespace that can have the same name.

Right, but I just generated my Datasets using designer. In the Designer code I tried to insert my company name. prefix, but it seems like it didn't take it. So, may be there is some way to set it using the designer?

Thanks again.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform