Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error in entity: Column ' does not belong to table ' '
Message
De
26/02/2009 17:32:56
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
À
26/02/2009 17:10:37
Tegron Tegron
Platinum Technologies
Ohio, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01384420
Message ID:
01384428
Vues:
31
>I added a new field to a table and first manually added the necessary property to the Entity, Default, and Data layer class. When I was testing the business object I noticed that I was getting any value in my entitylist. I only saw the following error within the object: Column 'RejectionID' does not belong to table RequestItems. I then decide to use the BLG to regenerate the enity object all over again, because I figured for some reason it was recognizing the field was added. After doing that I still received the same error message.
>
>The error doesn't make any sense, because the field is physically in the database. I have re-checked all of my stored procedures just to make sure that it was returned and everything is okay.
>
>Has anyone encountered this problem and have a way to fix it???

What are you using for the DataAccessLayer Class. Try looking in the designer.cs for your specific DataAccessClass and see if the field is included in the select statement. Also, it sounds more like you have a misspelling or something. I would check your spelling all the way through everything on this field.
Tim
Timothy Bryan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform