Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error in DataAccess class with System namespaces
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01242754
Message ID:
01243128
Vues:
33
Greetings Kevin,

One of the tables in my database is named System. I'll try removing that business object for now and see if that eliminates the error. Thanks!

E.R.

>E.R.,
>
>>I used the Business Object Generator to generate objects with stored procedures. In the Data Aceess classes I'm getting erros with the Systeme namespace. Below is the line of code (created by the Business Object Generator) and the error message.
>>
>>private System.ComponentModel.IContainer components = null;
>>
>>The type name 'Data' does not exist in the type 'Travis.Travel.Business.System'
>>
>>public override System.Data.IDbCommand CreateUpdateCommand()
>>
>>The type name 'ComponentModel' does not exist in the type 'Travis.Travel.Business.System'
>
>It may be that the use of the word "System" in your namespace is confusing .NET. I found this out several years ago when first creating MM .NET. I had to refrain from using System in any MM .NET namespaces so the compiler and I could keep peace <s>.
>
>Best Regards,
Regards,

E.R. Gilmore
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform